summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--strata/build-essential/gcc.morph2
1 files changed, 2 insertions, 0 deletions
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph
index 345d3b00..a9d25ac1 100644
--- a/strata/build-essential/gcc.morph
+++ b/strata/build-essential/gcc.morph
@@ -48,6 +48,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