From f57f1f5754107f9d1bf3f5ca05a4836dd5749fe4 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 31 Aug 2013 18:54:41 +0200 Subject: [PATCH] Add --with-sysroot=/ to binutils recipe. * on the bootstrap image, these binutils may be used by a gcc that's passing --sysroot= to ld, so we better configure ld to support that --- sys-devel/binutils/binutils-2.23.2_2013_04_09.recipe | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys-devel/binutils/binutils-2.23.2_2013_04_09.recipe b/sys-devel/binutils/binutils-2.23.2_2013_04_09.recipe index a606257c2..3db357b10 100644 --- a/sys-devel/binutils/binutils-2.23.2_2013_04_09.recipe +++ b/sys-devel/binutils/binutils-2.23.2_2013_04_09.recipe @@ -3,7 +3,7 @@ HOMEPAGE="http://www.gnu.org/software/binutils" SRC_URI=" git+git://github.com/haiku/BuildtoolsPM.git#db2a6d28f6c6a92cfb1c619b0828dfbf6b87ca30" -REVISION="1" +REVISION="2" LICENSE=" GNU GPL v2 GNU LGPL v2 @@ -80,7 +80,11 @@ BUILD() --exec-prefix=$installDir \ --includedir=$includeDir/binutils \ --docdir=$docDir \ - --disable-nls --enable-shared=yes + --disable-nls --enable-shared=yes \ + --with-sysroot=/ + # Note: The sysroot option is normally superfluous. We have to specify + # it, however, since these binutils may be used by the bootstrap-gcc, + # which passes --sysroot= to ld. make $jobArgs }