Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2015 18:56:22 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291864 - head/lib/libc/tests/ssp
Message-ID:  <201512051856.tB5IuMsg067499@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sat Dec  5 18:56:21 2015
New Revision: 291864
URL: https://svnweb.freebsd.org/changeset/base/291864

Log:
  Fix regression in r291738: This really wants -lssp.
  
  The normal LIBADD is ssp_nonshared.  This also had a DPADD on LIBSSP which
  does not actually exist, it is blank.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/lib/libc/tests/ssp/Makefile

Modified: head/lib/libc/tests/ssp/Makefile
==============================================================================
--- head/lib/libc/tests/ssp/Makefile	Sat Dec  5 17:40:11 2015	(r291863)
+++ head/lib/libc/tests/ssp/Makefile	Sat Dec  5 18:56:21 2015	(r291864)
@@ -10,7 +10,7 @@ CFLAGS.h_raw+=	-fstack-protector-all -Ws
 CFLAGS.h_raw+=	-fsanitize=bounds
 .elif ${COMPILER_TYPE} == "gcc"
 CFLAGS.h_raw+=	--param ssp-buffer-size=1
-LIBADD+=	ssp
+LDADD+=	-lssp
 .endif
 
 NETBSD_ATF_TESTS_SH=	ssp_test



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