summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-05-31 17:12:32 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-05-31 17:12:32 +0100
commitedc3b8718df3ad12bc0186117f24b305c3a24bf5 (patch)
tree0a26726b717bba9f6d045e5041f636b5e07d038b
parent8cdd1ade2a44afb432ab99d2f618c11a62229403 (diff)
downloadgcc-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.morph2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc.morph b/gcc.morph
index 120e97cd7d..ad29487a35 100644
--- a/gcc.morph
+++ b/gcc.morph
@@ -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\""