summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-14 16:56:48 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-14 16:56:48 +0000
commitda1a77bfd7367b0abebf3b485ca09042af036e9a (patch)
tree01598abe04b167c75b9ebb51ba55b9916146c9eb
parent201fad320d04d54c64a500357606a06194264a76 (diff)
downloadmake-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.morph2
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"