From owner-svn-src-head@FreeBSD.ORG Tue Mar 17 19:35:51 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AE4A888; Tue, 17 Mar 2015 19:35:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11FB7EDD; Tue, 17 Mar 2015 19:35:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2HJZokf070400; Tue, 17 Mar 2015 19:35:50 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2HJZoSQ070399; Tue, 17 Mar 2015 19:35:50 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201503171935.t2HJZoSQ070399@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Tue, 17 Mar 2015 19:35:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r280190 - head X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2015 19:35:51 -0000 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