Make MK_GNUCXX mean "build the libstdc++ and libsupc++ libraries" and

nothing more. Force it to be "no" when MK_CXX is "no" to simplify
usage.  It no longer also means "build g++" since we no longer have a
platform where that's interesting now that pc98 no longer needs clang
and gcc, but not g++. pc98 now just uses clang after boot2 changes.
This commit is contained in:
Warner Losh
2014-07-10 21:11:48 +00:00
parent b23c40d7b1
commit 9e88096ea1
4 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ SUBDIR+= tests
# libsupc++ uses libstdc++ headers, although 'make includes' should
# have taken care of that already.
.if ${MK_GNUCXX} != "no" && ${MK_CXX} != "no"
.if ${MK_GNUCXX} != "no"
SUBDIR+= libstdc++ libsupc++
.endif
+1 -6
View File
@@ -12,12 +12,7 @@ SUBDIR+= cpp
.endif
.if ${MK_CXX} != "no"
.if ${MK_GNUCXX} != "no"
SUBDIR+= cc1plus c++
.endif
# This should be moved into the above block once c++filt from elftoolchain or
# similar is provided.
SUBDIR+= c++filt
SUBDIR+= cc1plus c++ c++filt
.endif
.if ${MK_GCOV} != "no"