It is possible that MK_GNUCXX is "yes" but MK_CXX is "no" so make sure
MK_CXX isn't "no" before building these libraries.
This commit is contained in:
parent
25445e588f
commit
c77d0c982c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263991
@ -1486,7 +1486,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \
|
|||||||
lib/libutil lib/libpjdlog ${_lib_libypclnt} lib/libz lib/msun \
|
lib/libutil lib/libpjdlog ${_lib_libypclnt} lib/libz lib/msun \
|
||||||
${_secure_lib_libcrypto} ${_lib_libldns} \
|
${_secure_lib_libcrypto} ${_lib_libldns} \
|
||||||
${_secure_lib_libssh} ${_secure_lib_libssl}
|
${_secure_lib_libssh} ${_secure_lib_libssl}
|
||||||
.if ${MK_GNUCXX} != no
|
.if ${MK_GNUCXX} != "no" && ${MK_CXX} != "no"
|
||||||
_prebuild_libs+= gnu/lib/libstdc++ gnu/lib/libsupc++
|
_prebuild_libs+= gnu/lib/libstdc++ gnu/lib/libsupc++
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ SUBDIR+= libssp
|
|||||||
|
|
||||||
# libsupc++ uses libstdc++ headers, although 'make includes' should
|
# libsupc++ uses libstdc++ headers, although 'make includes' should
|
||||||
# have taken care of that already.
|
# have taken care of that already.
|
||||||
.if ${MK_GNUCXX} != "no"
|
.if ${MK_GNUCXX} != "no" && ${MK_CXX} != "no"
|
||||||
SUBDIR+= libstdc++ libsupc++
|
SUBDIR+= libstdc++ libsupc++
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user