From 6b14ff59f2acf6d6403f014f50e4ad475a36b381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 28 May 2015 13:24:10 +0100 Subject: stage1-gcc.morph: Fix compilation support when natively compile for armv5 Change-Id: Id7b85f0700e2b422a1a610d09d76e038e14db73c --- strata/build-essential/stage1-gcc.morph | 2 ++ 1 file changed, 2 insertions(+) diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph index ed85b684..f76b0cc6 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 -- cgit v1.2.1