Multilib fähig gemacht. build mag kein paralellisieren

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5979 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2011-02-09 09:59:00 +00:00
parent 378c8af37d
commit ec9f484991

View File

@ -77,17 +77,29 @@ premk() {
echo "Nothing to do for premk()" echo "Nothing to do for premk()"
} }
mk32() {
CC="gcc $BUILDOPTIONS32" \
CXX="g++ $BUILDOPTIONS32" \
USE_ARCH=32 \
./configure --target=$TARGET32 \
--prefix=/usr
make
make DESTDIR=$TMPROOT install
make distclean
}
mk() { mk() {
if [ "$MK64BIT" == "true" ]; then if [ "$MK64BIT" == "true" ]; then
ADDOPTIONS="--libdir=\${prefix}/lib64" ADDOPTIONS="--libdir=\${prefix}/lib64"
fi fi
CC="gcc $BUILDOPTIONS" \ CC="gcc $BUILDOPTIONS" \
CXX="g++ $BUILDOPTIONS" \ CXX="g++ $BUILDOPTIONS" \
USE_ARCH=$UARCH \
./configure --target=$TARGET \ ./configure --target=$TARGET \
$ADDOPTIONS \ $ADDOPTIONS \
--prefix=/usr --prefix=/usr
make -j $NUMCPU make
make -j $NUMCPU DESTDIR=$TMPROOT install make DESTDIR=$TMPROOT install
} }
postmk() { postmk() {