[Differential] [Commented On] D2408: Add ELF Tool Chain's c++filt to the build

emaste (Ed Maste) phabric-noreply at FreeBSD.org
Thu Apr 30 15:08:17 UTC 2015


emaste added a comment.

Oh - we also need either:

  diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile
  index abc9876..12ee7f8 100644
  --- a/gnu/usr.bin/cc/Makefile
  +++ b/gnu/usr.bin/cc/Makefile
  @@ -12,7 +12,10 @@ SUBDIR+= cpp
   .endif
   
   .if ${MK_CXX} != "no"
  -SUBDIR+= cc1plus c++ c++filt
  +SUBDIR+= cc1plus c++
  +.if ${MK_ELFTOOLCHAIN_TOLOLS} != "no"
  +SUBDIR+= c++filt
  +.endif
   .endif
   
   .if ${MK_GCOV} != "no"

or

  --- a/usr.bin/Makefile
  +++ b/usr.bin/Makefile
  @@ -238,7 +238,9 @@ SUBDIR+=    ee
   
   .if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
   _addr2line=    addr2line
  +.if ${MK_GCC} != "no" && ${MK_CXX} != "no"
   _cxxfilt=      cxxfilt
  +.endif
   _elfcopy=      elfcopy
   _nm=           nm
   _readelf=      readelf


REVISION DETAIL
  https://reviews.freebsd.org/D2408

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: emaste, brooks
Cc: freebsd-toolchain


More information about the freebsd-toolchain mailing list