diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-09-28 16:45:07 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-09-28 16:45:07 +0000 |
commit | deeb182975579e38b4717614e6a910d05acf08f7 (patch) | |
tree | 92033237f6ac3eef85ee9ec0a9a2d363f2630090 | |
parent | 0b4efc9913ef44557868bbfa07459dc54e94b9ab (diff) | |
download | gcc-tarball-baserock/morph-relocatable-static-libstdc++.tar.gz |
Try CXXFLAGS for everything in order to a relocatable libstdc++baserock/morph-relocatable-static-libstdc++
-rw-r--r-- | gcc.morph | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,13 +4,13 @@ "configure-commands": [ "sed -i 's@\\./fixinc\\.sh@-c true@' gcc/Makefile.in", "mkdir o", - "cd o && ../configure --prefix=/usr --enable-clocale=gnu --disable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib --disable-libgomp --without-ppl --without-cloog" + "cd o && CXXFLAGS=-fPIC ../configure --prefix=/usr --enable-clocale=gnu --disable-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 CFLAGS=-fPIC" + "cd o && CXXFLAGS=-fPIC make" ], "install-commands": [ - "cd o && make DESTDIR=\"$DESTDIR\" install", + "cd o && CXXFLAGS=-fPIC make DESTDIR=\"$DESTDIR\" install", "for f in `find \"$DESTDIR\" -name libgcc.a`; do EH=\"`echo \"$f\" | sed 's/libgcc/&_eh/'`\" && if [ ! -e \"$EH\" ]; then ln -s libgcc.a \"$EH\"; fi; done", "ln -s gcc \"$DESTDIR/usr/bin/cc\"" ] |