From e9dbfdc623101442370d51525e8cdbe3867eab02 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Fri, 26 Sep 2014 12:07:06 +0100 Subject: Add back missing comments to build-essential chunk morphs These will have been lost in the automated chunks-in-definitions transition. --- strata/build-essential/stage1-binutils.morph | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'strata/build-essential/stage1-binutils.morph') diff --git a/strata/build-essential/stage1-binutils.morph b/strata/build-essential/stage1-binutils.morph index d3e73a87..b6670d5c 100644 --- a/strata/build-essential/stage1-binutils.morph +++ b/strata/build-essential/stage1-binutils.morph @@ -1,7 +1,14 @@ name: stage1-binutils kind: chunk build-system: autotools + configure-commands: +# We set the sysroot location dynamically at runtime by passing -B to GCC, +# so we configure with sysroot=/. Setting the lib path is vital to avoid +# the tools we build linking to the libraries on the host system; the '=' +# makes the path we give relative to the sysroot, which we can then set +# at runtime by passing -Wl,--sysroot to GCC. + - | ./configure --prefix="$PREFIX" --disable-nls --disable-werror \ --build=$(sh config.guess) \ -- cgit v1.2.1