diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-09-26 12:07:06 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-09-26 13:18:24 +0100 |
commit | e9dbfdc623101442370d51525e8cdbe3867eab02 (patch) | |
tree | e3212f19e99a2043bfc8f519a70ff8a857c68126 /strata/build-essential/gcc.morph | |
parent | f8eb5d55ef5edc933442f489ae806a5a70d2a0cc (diff) | |
download | definitions-e9dbfdc623101442370d51525e8cdbe3867eab02.tar.gz |
Add back missing comments to build-essential chunk morphs
These will have been lost in the automated chunks-in-definitions
transition.
Diffstat (limited to 'strata/build-essential/gcc.morph')
-rw-r--r-- | strata/build-essential/gcc.morph | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph index c57edb61..50e2918c 100644 --- a/strata/build-essential/gcc.morph +++ b/strata/build-essential/gcc.morph @@ -1,7 +1,19 @@ name: gcc kind: chunk + configure-commands: - mkdir o + +# Configure flag notes: +# 1. An attempt to stop anything going in $PREFIX/lib64 (which doesn't +# fully work; we will need to hobble the multilib configuration in +# config/i386/t-linux64 if we really want to kill /lib64). +# 2. Multilib does not make sense in Baserock. +# 3. Optimisation libraries which for now we do without. +# 4. Recommended by Linux From Scratch; required for C++ ABI +# compatibility with other Linux distributions. +# 5. MPFR is built in the GCC tree, we need to locate it. +# 6. Avoid having more than one copy of ZLib in use on the system - | cd o && \ ../configure \ @@ -17,12 +29,14 @@ configure-commands: `# [5]` --with-mpfr-include="$(pwd)/../mpfr/src" \ --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \ `# [6]` --with-system-zlib + build-commands: - cd o && make + install-commands: - cd o && make DESTDIR="$DESTDIR" install - ln -s gcc "$DESTDIR/$PREFIX/bin/cc" -- | +- > for fortran_alias in f77 f90 f95; do ln -s gfortran "$DESTDIR/$PREFIX/bin/$fortran_alias" done |