This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] src-release.sh: use --target
- From: Tristan Gingold <gingold at adacore dot com>
- To: "binutils at sourceware dot org Development" <binutils at sourceware dot org>
- Date: Tue, 14 Oct 2014 12:29:35 +0200
- Subject: [PATCH] src-release.sh: use --target
- Authentication-results: sourceware.org; auth=none
Hello,
this one-line change is to execute src-release.sh on platforms
different from i386-pc-linux-gnu (otherwise I get compilation
error while compiling trad-core.c which is native only).
Ok for trunk ?
(I plan to backport it to the 2.25 branch).
Tested while building the 2.25 branch.
Tristan.
2014-10-14 Tristan Gingold <gingold@adacore.com>
* src-release.sh (do_proto_toplev): Configure with --target.
--- src-release.sh
+++ src-release.sh
@@ -83,7 +83,7 @@ do_proto_toplev()
<Makefile.in >tmp
mv -f tmp Makefile.in
#
- ./configure i686-pc-linux-gnu
+ ./configure --target=i386-pc-linux-gnu
$MAKE configure-host configure-target \
ALL_GCC="" ALL_GCC_C="" ALL_GCC_CXX="" \
CC_FOR_TARGET="$CC" CXX_FOR_TARGET="$CXX"