Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2015 19:35:50 +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: r280190 - head
Message-ID:  <201503171935.t2HJZoSQ070399@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Mar 17 19:35:50 2015
New Revision: 280190
URL: https://svnweb.freebsd.org/changeset/base/280190

Log:
  When cross-building with an external toolchain we still need a target strip
  
  It is used by at least crunchide(1).

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Tue Mar 17 19:19:19 2015	(r280189)
+++ head/Makefile.inc1	Tue Mar 17 19:35:50 2015	(r280190)
@@ -1476,6 +1476,11 @@ _elftctools=	lib/libelftc \
 # cross-build on a FreeBSD 10 host:
 _elftctools+=	usr.bin/addr2line
 .endif
+.elif ${TARGET_ARCH} != ${MACHINE_ARCH} && ${MK_ELFTOOLCHAIN_TOOLS} != "no"
+# If cross-building with an external binutils we still need to build strip for
+# the target (for at least crunchide).
+_elftctools=	lib/libelftc \
+		usr.bin/elfcopy
 .endif
 
 # If an full path to an external cross compiler is given, don't build



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