svn commit: r291864 - head/lib/libc/tests/ssp

Bryan Drewery bdrewery at FreeBSD.org
Sat Dec 5 18:56:23 UTC 2015


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


More information about the svn-src-all mailing list