Don't build libssp as a prereq lib if WITHOUT_SSP is set

Reviewed by:	brooks
Differential Revision:	https://reviews.freebsd.org/D8301
This commit is contained in:
Ed Maste 2016-10-20 21:29:59 +00:00
parent 14c3b02e01
commit c615275ccc

View File

@ -1983,7 +1983,10 @@ libraries: .MAKE .PHONY
#
# static libgcc.a prerequisite for shared libc
#
_prereq_libs= gnu/lib/libssp/libssp_nonshared gnu/lib/libgcc lib/libcompiler_rt
_prereq_libs= gnu/lib/libgcc lib/libcompiler_rt
.if ${MK_SSP} != "no"
_prereq_libs+= gnu/lib/libssp/libssp_nonshared
.endif
# These dependencies are not automatically generated:
#