svn commit: r235653 - head/lib/libc

Marcel Moolenaar marcel at FreeBSD.org
Sat May 19 17:49:21 UTC 2012


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:


More information about the svn-src-all mailing list