From 672dde548ed9f3310e5569ff91879fbc37a36fa6 Mon Sep 17 00:00:00 2001 From: Javier Date: Fri, 24 Apr 2015 15:53:14 +0000 Subject: stage1-gcc: set correct host/target for GMP for armv5 --- 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..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 -- cgit v1.2.1