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
This commit is contained in:
Enji Cooper 2014-08-25 06:10:03 +00:00
parent 3a1abb4c43
commit 3303bfc042
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270519
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ LDFLAGS+= -nodefaultlibs
LDADD+= -lcompiler_rt
.if ${MK_SSP} != "no"
DPADD+= ${LIBSSP_NONSHARED}
LDADD+= -lssp_nonshared
.endif

View File

@ -132,6 +132,7 @@ LIBSBUF?= ${DESTDIR}${LIBDIR}/libsbuf.a
LIBSDP?= ${DESTDIR}${LIBDIR}/libsdp.a
LIBSMB?= ${DESTDIR}${LIBDIR}/libsmb.a
LIBSSL?= ${DESTDIR}${LIBDIR}/libssl.a
LIBSSP_NONSHARED?= ${DESTDIR}${LIBDIR}/libssp_nonshared.a
LIBSTAND?= ${DESTDIR}${LIBDIR}/libstand.a
LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR}/libstdc++.a
LIBTACPLUS?= ${DESTDIR}${LIBDIR}/libtacplus.a