diff options
author | Simon Hoinkis <simon.hoinkis@codethink.co.uk> | 2015-04-13 08:37:40 +0000 |
---|---|---|
committer | Simon Hoinkis <simon.hoinkis@codethink.co.uk> | 2015-04-13 08:37:40 +0000 |
commit | 807775cfa4a2ee70feba1c5c750f02335479144c (patch) | |
tree | fc6eadbcb5759a403498e5b2a328ba94b2b99ae3 /strata/build-essential-musl/stage2-gawk.morph | |
parent | 5f735abe623799b2ae73d239000c7c40e8bf7c7a (diff) | |
download | definitions-807775cfa4a2ee70feba1c5c750f02335479144c.tar.gz |
Fix build on MIPS32B with musl
Diffstat (limited to 'strata/build-essential-musl/stage2-gawk.morph')
-rw-r--r-- | strata/build-essential-musl/stage2-gawk.morph | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/strata/build-essential-musl/stage2-gawk.morph b/strata/build-essential-musl/stage2-gawk.morph index 21bcf16a..1ee5f83b 100644 --- a/strata/build-essential-musl/stage2-gawk.morph +++ b/strata/build-essential-musl/stage2-gawk.morph @@ -2,8 +2,12 @@ name: stage2-gawk kind: chunk build-system: autotools configure-commands: -- STAGE2_SYSROOT="$(dirname $(pwd))" CPPFLAGS="--sysroot=$STAGE2_SYSROOT" CXX=false - LDFLAGS="--sysroot=$STAGE2_SYSROOT" ./configure --prefix="$PREFIX" --disable-nls - --build=$(sh config.guess) --host=x86_64-linux-musl +- | + export TARGET_STAGE1=`echo $TARGET_STAGE1 | sed -e 's/bootstrap-linux-gnu/linux-musl/'` + export STAGE2_SYSROOT="$(dirname $(pwd))" + export CPPFLAGS="--sysroot=$STAGE2_SYSROOT" + export CXX=false + export LDFLAGS="--sysroot=$STAGE2_SYSROOT" + ./configure --prefix="$PREFIX" --disable-nls --build=$(sh config.guess) --host=$TARGET_STAGE1 build-commands: - STAGE2_SYSROOT="$(dirname $(pwd))" make |