1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

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.
This commit is contained in:
Ruslan Ermilov 2002-05-15 16:29:45 +00:00
parent 5d86203733
commit 83f56d9ae4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96669
4 changed files with 5 additions and 9 deletions

View File

@ -659,10 +659,6 @@ cross-tools:
hierarchy:
cd ${.CURDIR}/etc; ${MAKE} distrib-dirs
.if ${CXX} == "c++"
NO_CXX= yes
.endif
#
# libraries - build all libraries, and install them under ${DESTDIR}.
#

View File

@ -8,13 +8,11 @@ SUBDIR+= libgcc_r
.endif
.endif
.if ${CXX:T} == "c++"
NO_CXX= yes
.endif
.if notyet
.if !defined(NO_CXX)
SUBDIR+= libsupc++ libstdc++
.endif
.endif
.if !defined(NO_OBJC)
SUBDIR+= libobjc

View File

@ -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

View File

@ -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