summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-08-25 06:10:03 +0000
committerngie <ngie@FreeBSD.org>2014-08-25 06:10:03 +0000
commitc30d19f1d1afc3ea7f452c363b087dd876047f92 (patch)
treeeb08fe17a7d3a33896ca15dccb0b920a9d3ae9e8 /lib
parentb084c5d09c17aec7a11c034e4130a9ae02bcf563 (diff)
downloadFreeBSD-src-c30d19f1d1afc3ea7f452c363b087dd876047f92.zip
FreeBSD-src-c30d19f1d1afc3ea7f452c363b087dd876047f92.tar.gz
Fix "make checkdpadd" for lib/libc when MK_SSP != no
Add LIBSSP_NONSHARED to bsd.libnames.mk and append LIBSSP_NONSHARED to DPADD in lib/libc when MK_SSP != no Approved by: rpaulo (mentor) MFC after: 3 days Phabric: D675 (as part of a larger diff) PR: 192728
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 0656425..5a02e51 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -49,6 +49,7 @@ LDFLAGS+= -nodefaultlibs
LDADD+= -lcompiler_rt
.if ${MK_SSP} != "no"
+DPADD+= ${LIBSSP_NONSHARED}
LDADD+= -lssp_nonshared
.endif
OpenPOWER on IntegriCloud