mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 02:20:51 +01:00
Build libgnuregex only if necessary for other components
Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D8298
This commit is contained in:
parent
68a18b821e
commit
d1a6903377
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307679
@ -4,7 +4,6 @@
|
||||
|
||||
SUBDIR= csu
|
||||
SUBDIR+= libgcc
|
||||
SUBDIR+= libregex
|
||||
|
||||
SUBDIR.${MK_DIALOG}+= libdialog
|
||||
SUBDIR.${MK_GCC}+= libgcov libgomp
|
||||
@ -15,6 +14,11 @@ SUBDIR.${MK_TESTS}+= tests
|
||||
SUBDIR+= libreadline
|
||||
.endif
|
||||
|
||||
.if ${MK_GNU_DIFF} != "no" || ${MK_GNU_GREP} != "no" || \
|
||||
${GNU_GREP_COMPAT} != "no" || ${MK_GDB} != "no"
|
||||
SUBDIR+= libregex
|
||||
.endif
|
||||
|
||||
# libsupc++ uses libstdc++ headers, although 'make includes' should
|
||||
# have taken care of that already.
|
||||
.if ${MK_GNUCXX} != "no"
|
||||
|
Loading…
Reference in New Issue
Block a user