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:
parent
5d86203733
commit
83f56d9ae4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96669
@ -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}.
|
||||
#
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user