diff options
author | ru <ru@FreeBSD.org> | 2002-05-15 16:29:45 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-05-15 16:29:45 +0000 |
commit | b860787a1895c30ea1f8f8c93c0b4578de259cf3 (patch) | |
tree | f025d67a22654d8ff2203628f971ff7d615e4142 /gnu/usr.bin | |
parent | f5faaf6181d75212545b164cf70a61760c9edb2b (diff) | |
download | FreeBSD-src-b860787a1895c30ea1f8f8c93c0b4578de259cf3.zip FreeBSD-src-b860787a1895c30ea1f8f8c93c0b4578de259cf3.tar.gz |
Make sure to not yet build the GNU C++, but still allow
for the C++ progs to be built with e.g. an old compiler,
CXX=/usr/bin/c++, for the time being.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/Makefile | 2 | ||||
-rw-r--r-- | gnu/usr.bin/cc/Makefile | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index c0bd0f2..83018bf 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -3,7 +3,7 @@ SUBDIR= awk bc binutils cc cpio dc dialog diff diff3 \ grep gzip man patch ptx rcs sdiff send-pr sort tar texinfo -.if ${CXX:T} != "c++" +.if ${CXX} != "c++" SUBDIR+=gperf groff .endif diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile index cd7b47f..c1565e6 100644 --- a/gnu/usr.bin/cc/Makefile +++ b/gnu/usr.bin/cc/Makefile @@ -9,12 +9,14 @@ SUBDIR= cc_fbsd cc_tools cc_int cc cc1 cpp0 protoize tradcpp0 SUBDIR+= cpp .endif +.if notyet .if !defined(NO_CXX) SUBDIR+= cc1plus c++ c++filt doc .if !defined(NO_COLLECT2) #SUBDIR+= collect2 .endif .endif +.endif .if !defined(NO_OBJC) SUBDIR+= cc1obj |