diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-10-02 10:55:23 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-10-02 10:55:23 +0100 |
commit | 6d4a0ec6caa5a1f1f1a73a7a8bd061889cf06299 (patch) | |
tree | 6a0928e1aadf2527e16d2ead1a571bfa7da19c71 /strata/build-essential/stage2-binutils.morph | |
parent | d107a96317a05ec3238ff7bce94cd6cbf12398bf (diff) | |
parent | e9dbfdc623101442370d51525e8cdbe3867eab02 (diff) | |
download | definitions-6d4a0ec6caa5a1f1f1a73a7a8bd061889cf06299.tar.gz |
Merge branch 'baserock/sam/build-essential-comments'
Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
Reviewed-By: Richard Maw <richard.maw@codethink.co.uk>
Diffstat (limited to 'strata/build-essential/stage2-binutils.morph')
-rw-r--r-- | strata/build-essential/stage2-binutils.morph | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/strata/build-essential/stage2-binutils.morph b/strata/build-essential/stage2-binutils.morph index a3701b2c..bc0b18ac 100644 --- a/strata/build-essential/stage2-binutils.morph +++ b/strata/build-essential/stage2-binutils.morph @@ -1,6 +1,7 @@ name: stage2-binutils kind: chunk build-system: autotools + configure-commands: - | export STAGE2_SYSROOT="$(dirname $(pwd))" @@ -11,7 +12,11 @@ configure-commands: --build=$(sh config.guess) \ --host=$TARGET_STAGE1 \ --target=$TARGET_STAGE1 + build-commands: +# Nested configure scripts require that we set CPPFLAGS here as well +# (I don't think we should have to .. . at least in GCC, I think +# TARGET_CPPFLAGS may be the answer) - | export STAGE2_SYSROOT="$(dirname $(pwd))" export CPPFLAGS="--sysroot=$STAGE2_SYSROOT" |