From 942021ba90d83665505ecb9bb164a0f67a130063 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 16 Sep 2004 01:41:11 +0000 Subject: Update path to c++ internals includes for the 3.4 location. No longer use make -k since the libraries target should build now. Remove hacks for gnu/lib/libregex. --- tools/lib32/build32.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'tools/lib32') diff --git a/tools/lib32/build32.sh b/tools/lib32/build32.sh index 8dfcbe5..45baad5 100644 --- a/tools/lib32/build32.sh +++ b/tools/lib32/build32.sh @@ -25,7 +25,7 @@ rm -rf $MAKEOBJDIRPREFIX mkdir -p $MAKEOBJDIRPREFIX CCARGS="-m32 -march=athlon-xp -msse2 -mfancy-math-387 -I/tmp/i386/root/usr/include -L/usr/lib32 -B/usr/lib32" -CXXARGS="-m32 -march=athlon-xp -msse2 -mfancy-math-387 -I/tmp/i386/root/usr/include/c++/3.3 -I/tmp/i386/root/usr/include -L/usr/lib32 -B/usr/lib32" +CXXARGS="-m32 -march=athlon-xp -msse2 -mfancy-math-387 -I/tmp/i386/root/usr/include/c++/3.4 -I/tmp/i386/root/usr/include -L/usr/lib32 -B/usr/lib32" # and a place to put the alternate include tree into. mkdir -p $MAKEOBJDIRPREFIX/root @@ -55,14 +55,7 @@ export CC="cc $CCARGS" export CXX="c++ $CXXARGS" export LD="ld -m elf_i386_fbsd -Y P,/usr/lib32" export AS="as --32" -make -s -DNO_BIND -DNOMAN -DNODOC -DNOINFO -k libraries - -# Hack to fix gnuregex which does hacks to the -I path based on $DESTDIR. But, we cannot -# use DESTDIR during the libraries target, because we're just using alternate includes, not -# an alternate install directory. -unset CC -export CC="cc -I/tmp/i386/root/usr/include/gnu $CCARGS" -(cd gnu/lib/libregex; make -k -DNOMAN -DNODOC -DNOINFO all install) +make -s -DNO_BIND -DNOMAN -DNODOC -DNOINFO libraries # and now that we have enough libraries, build ld-elf32.so.1 cd libexec/rtld-elf -- cgit v1.1