summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2015-04-15 00:22:43 +0100
committerJavier Jardón <jjardon@gnome.org>2015-04-22 19:24:33 +0100
commit682de2a7249c91e67c4fafb972650a2754c3307c (patch)
treeda75dd14b6e208820ade7c51fedf5cdfa0a92268
parent69f9166c0959fb3f0e6b3f586e3317595675429d (diff)
downloaddefinitions-682de2a7249c91e67c4fafb972650a2754c3307c.tar.gz
stage2-gcc: set correct host/target for GMP for armv5
Change-Id: Icb223438e2ed7bc54e8d1ea7573594418ebe0445
-rw-r--r--strata/build-essential/stage2-gcc.morph2
1 files changed, 2 insertions, 0 deletions
diff --git a/strata/build-essential/stage2-gcc.morph b/strata/build-essential/stage2-gcc.morph
index 98f9cfe7..cd600e18 100644
--- a/strata/build-essential/stage2-gcc.morph
+++ b/strata/build-essential/stage2-gcc.morph
@@ -52,6 +52,8 @@ configure-commands:
build-commands:
- |
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