Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2015 21:30:34 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282285 - in head: gnu/usr.bin/cc tools/build/mk usr.bin
Message-ID:  <201504302130.t3ULUY8H067269@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504302130.t3ULUY8H067269>