Author: marcel
Date: Sat May 19 17:49:20 2012
New Revision: 235653
URL: http://svn.freebsd.org/changeset/base/235653

Log:
  Don't link against libssp if MK_SSP is set to no.
  Note that this still misses a proper dependency at this time.

Modified:
  head/lib/libc/Makefile

Modified: head/lib/libc/Makefile
==============================================================================
--- head/lib/libc/Makefile      Sat May 19 17:42:11 2012        (r235652)
+++ head/lib/libc/Makefile      Sat May 19 17:49:20 2012        (r235653)
@@ -41,7 +41,11 @@ CFLAGS+=${CANCELPOINTS_CFLAGS}
 #
 DPADD+=        ${LIBGCC}
 LDFLAGS+= -nodefaultlibs
-LDADD+= -lgcc -lssp_nonshared
+LDADD+= -lgcc
+
+.if ${MK_SSP} != "no"
+LDADD+= -lssp_nonshared
+.endif
 
 # Define (empty) variables so that make doesn't give substitution
 # errors if the included makefiles don't change these:
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to