summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-02-15 17:59:55 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-02-15 17:59:55 +0000
commit74efcfc4f0401fd0f885a06a56e9fd6cb79393c8 (patch)
treed0ee0898c97c368dbe1dff0b85fd518ad636045e
parent7e34620a1948475a8317b252f5cfa3b99640ad2d (diff)
downloadgcc-tarball-74efcfc4f0401fd0f885a06a56e9fd6cb79393c8.tar.gz
gcc.morph: remove bootstrap specific constructs
-rw-r--r--gcc.morph5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc.morph b/gcc.morph
index 120e97cd7d..03ea42efb5 100644
--- a/gcc.morph
+++ b/gcc.morph
@@ -4,14 +4,13 @@
"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 && ../configure --prefix=/usr --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib --disable-libgomp --without-ppl --without-cloog"
],
"build-commands": [
- "cd o && make BOOT_CFLAGS=\"-g -O2 -I/usr/include -L/usr/lib -L/usr/lib64 -B/usr/lib -B/usr/lib64\""
+ "cd o && make"
],
"install-commands": [
"cd o && make DESTDIR=\"$DESTDIR\" install",
- "if readelf -l \"$DESTDIR\"/usr/bin/gcc | grep tools; then echo bad dynlinker; exit 1; fi",
"ln -s gcc \"$DESTDIR/usr/bin/cc\""
]
}