From owner-svn-src-head@FreeBSD.ORG Sat May 19 17:49:21 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74B82106566B; Sat, 19 May 2012 17:49:21 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5FF748FC0C; Sat, 19 May 2012 17:49:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4JHnLp8036294; Sat, 19 May 2012 17:49:21 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4JHnLaq036292; Sat, 19 May 2012 17:49:21 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201205191749.q4JHnLaq036292@svn.freebsd.org> From: Marcel Moolenaar Date: Sat, 19 May 2012 17:49:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r235653 - head/lib/libc X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2012 17:49:21 -0000 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: