diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-03-14 16:56:48 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-03-14 16:56:48 +0000 |
commit | da1a77bfd7367b0abebf3b485ca09042af036e9a (patch) | |
tree | 01598abe04b167c75b9ebb51ba55b9916146c9eb | |
parent | 201fad320d04d54c64a500357606a06194264a76 (diff) | |
download | make-da1a77bfd7367b0abebf3b485ca09042af036e9a.tar.gz |
Use MORPH_ARCH field to set target-specific flags
Also, use config.guess when we need to know BUILD, because Morph
no longer sets this variable.
-rw-r--r-- | stage2-make.morph | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2-make.morph b/stage2-make.morph index a8f42036..e204fd8c 100644 --- a/stage2-make.morph +++ b/stage2-make.morph @@ -4,7 +4,7 @@ "build-system": "autotools", "configure-commands": [ "stage2-eglibc-fix-specs", - "STAGE2_SYSROOT=\"$(dirname $(pwd))\" CPPFLAGS=\"--sysroot=$STAGE2_SYSROOT\" CXX=false LDFLAGS=\"-Wl,--sysroot=$STAGE2_SYSROOT\" ./configure --prefix=\"$PREFIX\" --disable-nls --build=$BUILD --host=$TARGET_STAGE1" + "STAGE2_SYSROOT=\"$(dirname $(pwd))\" CPPFLAGS=\"--sysroot=$STAGE2_SYSROOT\" CXX=false LDFLAGS=\"-Wl,--sysroot=$STAGE2_SYSROOT\" ./configure --prefix=\"$PREFIX\" --disable-nls --build=$(sh config/config.guess) --host=$TARGET_STAGE1" ], "build-commands": [ "STAGE2_SYSROOT=\"$(dirname $(pwd))\" make" |