svn commit: r282285 - in head: gnu/usr.bin/cc tools/build/mk usr.bin
Ed Maste
emaste at FreeBSD.org
Thu Apr 30 21:30:35 UTC 2015
Author: emaste
Date: Thu Apr 30 21:30:33 2015
New Revision: 282285
URL: https://svnweb.freebsd.org/changeset/base/282285
Log:
Add ELF Tool Chain's c++filt to the build
Differential Revision: https://reviews.freebsd.org/D2408
Reviewed by: brooks, imp
Sponsored by: The FreeBSD Foundation
Modified:
head/gnu/usr.bin/cc/Makefile
head/tools/build/mk/OptionalObsoleteFiles.inc
head/usr.bin/Makefile
Modified: head/gnu/usr.bin/cc/Makefile
==============================================================================
--- head/gnu/usr.bin/cc/Makefile Thu Apr 30 21:00:47 2015 (r282284)
+++ head/gnu/usr.bin/cc/Makefile Thu Apr 30 21:30:33 2015 (r282285)
@@ -12,7 +12,10 @@ SUBDIR+= cpp
.endif
.if ${MK_CXX} != "no"
-SUBDIR+= cc1plus c++ c++filt
+SUBDIR+= cc1plus c++
+.if ${MK_ELFTOOLCHAIN_TOOLS} == "no"
+SUBDIR+= c++filt
+.endif
.endif
.if ${MK_GCOV} != "no"
Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- head/tools/build/mk/OptionalObsoleteFiles.inc Thu Apr 30 21:00:47 2015 (r282284)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc Thu Apr 30 21:30:33 2015 (r282285)
@@ -1004,7 +1004,9 @@ OLD_DIRS+=usr/include/fs/cuse
.if ${MK_CXX} == no
OLD_FILES+=usr/bin/CC
OLD_FILES+=usr/bin/c++
+.if ${MK_ELFTOOLCHAIN_TOOLS} == no
OLD_FILES+=usr/bin/c++filt
+.endif
OLD_FILES+=usr/bin/g++
OLD_FILES+=usr/libexec/cc1plus
.if ${MK_GCC} == no
Modified: head/usr.bin/Makefile
==============================================================================
--- head/usr.bin/Makefile Thu Apr 30 21:00:47 2015 (r282284)
+++ head/usr.bin/Makefile Thu Apr 30 21:30:33 2015 (r282285)
@@ -36,6 +36,7 @@ SUBDIR= ${_addr2line} \
csplit \
ctlstat \
cut \
+ ${_cxxfilt} \
demandoc \
dirname \
dpv \
@@ -237,6 +238,7 @@ SUBDIR+= ee
.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
_addr2line= addr2line
+_cxxfilt= cxxfilt
_elfcopy= elfcopy
_nm= nm
_readelf= readelf
More information about the svn-src-all
mailing list