diff options
| author | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-31 17:12:32 +0100 |
|---|---|---|
| committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-31 17:12:32 +0100 |
| commit | edc3b8718df3ad12bc0186117f24b305c3a24bf5 (patch) | |
| tree | 0a26726b717bba9f6d045e5041f636b5e07d038b | |
| parent | 8cdd1ade2a44afb432ab99d2f618c11a62229403 (diff) | |
| download | gcc-tarball-edc3b8718df3ad12bc0186117f24b305c3a24bf5.tar.gz | |
gcc.morph: disable shared objects in configure
gcc build with shared objects requires that the compiler's libraries
are distributed with the OS. Since our current methodology would
require gcc to be built in foundation, it's better to statically link.
Building gcc in foundation would murder our build times.
| -rw-r--r-- | gcc.morph | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ "configure-commands": [ "sed -i 's@\\./fixinc\\.sh@-c true@' gcc/Makefile.in", "mkdir o", - "cd o && CC=\"/tools/bin/gcc -B/usr/lib -B/usr/lib64\" ../configure --prefix=/usr --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib --disable-bootstrap --disable-libgomp --without-ppl --without-cloog --with-mpfr-include=$(pwd)/../mpfr/src --with-mpfr-lib=$(pwd)/mpfr/src/.libs" + "cd o && CC=\"/tools/bin/gcc -B/usr/lib -B/usr/lib64\" ../configure --prefix=/usr --enable-clocale=gnu --disable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib --disable-bootstrap --disable-libgomp --without-ppl --without-cloog --with-mpfr-include=$(pwd)/../mpfr/src --with-mpfr-lib=$(pwd)/mpfr/src/.libs" ], "build-commands": [ "cd o && make BOOT_CFLAGS=\"-g -O2 -I/usr/include -L/usr/lib -L/usr/lib64 -B/usr/lib -B/usr/lib64\"" |
