summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <jjardon@gnome.org>2015-04-24 15:53:14 +0000
committerJavier Jardón <jjardon@gnome.org>2015-04-24 17:37:22 +0100
commit672dde548ed9f3310e5569ff91879fbc37a36fa6 (patch)
tree059355f2ab42d771481ee64752413e36809946e7
parent37535ecc1fc52b336111f0eb83e95731ccb4ad88 (diff)
downloaddefinitions-672dde548ed9f3310e5569ff91879fbc37a36fa6.tar.gz
stage1-gcc: set correct host/target for GMP for armv5
-rw-r--r--strata/build-essential/stage1-gcc.morph2
1 files changed, 2 insertions, 0 deletions
diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph
index ed85b684..7d2479e4 100644
--- a/strata/build-essential/stage1-gcc.morph
+++ b/strata/build-essential/stage1-gcc.morph
@@ -69,6 +69,8 @@ build-commands:
# ARMv7. Fix the invocation of GMP's configure script so that GMP can
# use the machine-dependent code.
case "$MORPH_ARCH" in
+ armv5*) sed -i "s/--host=none/--host=armv5/" o/Makefile
+ sed -i "s/--target=none/--target=armv5/" o/Makefile ;;
armv7*) sed -i "s/--host=none/--host=armv7a/" o/Makefile
sed -i "s/--target=none/--target=armv7a/" o/Makefile ;;
esac