summaryrefslogtreecommitdiff
path: root/strata/build-essential/gcc.morph
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-01-09 15:18:30 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-01-22 16:55:13 +0000
commite5ba32eda38f158169cc2d389184a2c6e2241f5c (patch)
tree51699767bae7f48cfc8a06d5e93704a11203dc0a /strata/build-essential/gcc.morph
parent9a51513af252ac3b828958d3d251928d5a5743cc (diff)
downloaddefinitions-e5ba32eda38f158169cc2d389184a2c6e2241f5c.tar.gz
Improve the readability and docs of gcc morphologies
No functional changes here. It will ease the review of the following commmits.
Diffstat (limited to 'strata/build-essential/gcc.morph')
-rw-r--r--strata/build-essential/gcc.morph40
1 files changed, 21 insertions, 19 deletions
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph
index 50e2918c..63d4ad4c 100644
--- a/strata/build-essential/gcc.morph
+++ b/strata/build-essential/gcc.morph
@@ -8,27 +8,29 @@ configure-commands:
# 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
+# 2. MPFR is built in the GCC tree, we need to locate it.
+# 3. Avoid having more than one copy of ZLib in use on the system
+# 4. Optimisation libraries which for now we do without.
+# 5. Multilib does not make sense in Baserock.
+# 6. 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 \
- $(../morph-arch-config) \
- --prefix="$PREFIX" \
- `# [1]` --libdir=$PREFIX/lib \
- --disable-nls \
- --enable-languages=c,c++,fortran \
- --enable-shared --enable-threads=posix \
- `# [2]` --disable-multilib \
- `# [3]` --disable-libgomp --without-cloog --without-ppl \
- `# [4]` --enable-__cxa_atexit \
- `# [5]` --with-mpfr-include="$(pwd)/../mpfr/src" \
- --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \
- `# [6]` --with-system-zlib
+ cd o && ../configure \
+ $(../morph-arch-config) \
+ --prefix="$PREFIX" \
+ `# [1]` --libdir=$PREFIX/lib \
+ `# [2]` --with-mpfr-include="$(pwd)/../mpfr/src" \
+ `# [2]` --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \
+ `# [3]` --with-system-zlib \
+ `# [4]` --without-cloog \
+ `# [4]` --without-ppl \
+ --disable-nls \
+ `# [5]` --disable-multilib \
+ --disable-libgomp \
+ `# [6]` --enable-__cxa_atexit \
+ --enable-shared \
+ --enable-threads=posix \
+ --enable-languages=c,c++,fortran
build-commands:
- cd o && make