summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-15 14:29:40 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-15 14:29:40 +0000
commit1585e7d293ac4fa6d9a0f2d7ea0342efb3f9b935 (patch)
treefe700e90fb20ffb3ec774a39ed4bf6ccd1713fff
parent52a1ed720fe3e36dae8754966b364d229ecf19fb (diff)
downloadgcc-tarball-1585e7d293ac4fa6d9a0f2d7ea0342efb3f9b935.tar.gz
gcc: remove irrelevant morphs
-rw-r--r--gcc-bootstrap-pass1-2.morph19
-rw-r--r--gcc.morph18
2 files changed, 0 insertions, 37 deletions
diff --git a/gcc-bootstrap-pass1-2.morph b/gcc-bootstrap-pass1-2.morph
deleted file mode 100644
index a06f8fe40d..0000000000
--- a/gcc-bootstrap-pass1-2.morph
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "gcc-bootstrap-pass1-2",
- "kind": "chunk",
- "configure-commands": [
- "sed -i -e 's@\\./fixinc\\.sh@-c true@' -e 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in",
- "for file in $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h); do sed -i -e \"s@/lib\\(64\\)\\?\\(32\\)\\?/ld@$PREFIX&@g\" -e \"s@/usr@$PREFIX@g\" \"$file\" && echo '#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR 0\n#define STANDARD_STARTFILE_PREFIX_1 \"\"\n#define STANDARD_STARTFILE_PREFIX_2 \"\"' >>\"$file\"; done",
- "case $(uname -m) in x86_64) for file in $(find gcc/config -name t-linux64); do sed -i '/MULTILIB_OSDIRNAMES/d' \"$file\"; done;; esac",
- "mkdir o",
- "cd o && CC=\"$TOOLCHAIN_TARGET-gcc -B$PREFIX/lib/\" AR=\"$TOOLCHAIN_TARGET-ar\" RANLIB=\"$TOOLCHAIN_TARGET-ranlib\" ../configure --prefix=\"$PREFIX\" --with-local-prefix=\"$PREFIX\" --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"
- ],
- "build-commands": [
- "cd o && make"
- ],
- "install-commands": [
- "cd o && make DESTDIR=\"$DESTDIR\" install",
- "ln -s gcc \"$DESTDIR/$PREFIX/bin/cc\""
- ]
-}
-
diff --git a/gcc.morph b/gcc.morph
deleted file mode 100644
index 120e97cd7d..0000000000
--- a/gcc.morph
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "name": "gcc",
- "kind": "chunk",
- "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"
- ],
- "build-commands": [
- "cd o && make BOOT_CFLAGS=\"-g -O2 -I/usr/include -L/usr/lib -L/usr/lib64 -B/usr/lib -B/usr/lib64\""
- ],
- "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\""
- ]
-}
-