Wieder auf 1_39 umgestellt. funktioniert jetzt mit 32 und 64 bit

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5039 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-01-10 14:32:09 +00:00
parent 11367c65b9
commit e7b909ea57

View File

@ -81,45 +81,31 @@ premk() {
mk32() {
echo "toolset.flags gcc OPTIONS : ${BUILDOPTIONS32} ;" >> tools/build/v2/tools/gcc.jam &&
#export USE_ARCH=32 &&
#./bootstrap.sh --prefix=/usr \
# --with-toolset=gcc \
# --with-bjam=/usr/bin/bjam &&
export USE_ARCH=32 &&
./configure --prefix=/usr \
./bootstrap.sh --prefix=/usr \
--with-toolset=gcc \
--with-bjam=/usr/bin/bjam &&
make -j $NUMCPU
bjam install --prefix=$TMPROOT/usr \
--libdir=$TMPROOT/usr/lib \
--includedir=$TMPROOT/usr/include
cd ..
rm -r boost
rm -r boost*
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/boost*.tar.bz2
cd boost*
}
mk() {
echo "toolset.flags gcc OPTIONS : ${BUILDOPTIONS} ;" >> tools/build/v2/tools/gcc.jam &&
#USE_ARCH=$UARCH \
#./bootstrap.sh --with-bjam=/usr/bin/bjam \
#--with-toolset=gcc \
#--prefix=/usr \
#--libdir=/usr/$LIBDIR
#bjam install --prefix=$TMPROOT/usr \
#--libdir=$TMPROOT/usr/$LIBDIR \
#--includedir=$TMPROOT/usr/include
USE_ARCH=$UARCH \
./configure --with-bjam=/usr/bin/bjam \
--with-toolset=gcc \
--prefix=/usr \
--libdir=/usr/$LIBDIR
make -j $NUMCPU
./bootstrap.sh --with-bjam=/usr/bin/bjam \
--with-toolset=gcc \
--prefix=/usr \
--libdir=/usr/$LIBDIR
bjam install --prefix=$TMPROOT/usr \
--libdir=$TMPROOT/usr/$LIBDIR \
--includedir=$TMPROOT/usr/include
}
postmk() {
ln -sfnv boost-1_37 $TMPROOT/usr/include/boost
ln -sfnv boost-1_39 $TMPROOT/usr/include/boost
}