diff options
author | Ed Maste <emaste@FreeBSD.org> | 2016-10-20 21:29:59 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2016-10-20 21:29:59 +0000 |
commit | c615275cccc56514f2eaf42112f9e604507c0feb (patch) | |
tree | b3593a448c7e678ab0c2a80abbdd1075c2db980b /Makefile.inc1 | |
parent | 14c3b02e014d0109ee669f1ee532d3c3a6542651 (diff) | |
download | src-test2-c615275cccc56514f2eaf42112f9e604507c0feb.tar.gz src-test2-c615275cccc56514f2eaf42112f9e604507c0feb.zip |
Don't build libssp as a prereq lib if WITHOUT_SSP is set
Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D8301
Notes
Notes:
svn path=/head/; revision=307690
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 5723fd1dbd34..a89a893a9eec 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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: # |