Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2012 17:49:21 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235653 - head/lib/libc
Message-ID:  <201205191749.q4JHnLaq036292@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205191749.q4JHnLaq036292>