diff options
Diffstat (limited to '')
-rwxr-xr-x | boost/build/boost.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/boost/build/boost.SlackBuild b/boost/build/boost.SlackBuild index a5b0fd44..cabdd036 100755 --- a/boost/build/boost.SlackBuild +++ b/boost/build/boost.SlackBuild @@ -169,7 +169,8 @@ export CXXFLAGS="$SLKCFLAGS" # First build bjam, the boost build system: ( cd tools/jam/src - ./build.sh gcc 2>&1 | tee $OUTPUT/make-${PRGNAM}.log + CFLAGS="$SLKCFLAGS -fno-strict-aliasing" CC=gcc ./build.sh gcc \ + 2>&1 | tee $OUTPUT/make-${PRGNAM}.log ) || exit $? BJAM=$(find tools/jam/src/ -name bjam -a -type f) @@ -190,7 +191,7 @@ $BJAM \ 2>&1 | tee -a $OUTPUT/make-${PRGNAM}.log # And then install boost.. -mkdir -p $PKG/usr/{bin,lib,include} +mkdir -p $PKG/usr/{bin,lib,include} $PKG/usr/share/boost-build echo "Installing boost now..." $BJAM \ @@ -203,6 +204,10 @@ $BJAM \ # Install the bjam binary: cp -a $BJAM $PKG/usr/bin +# Install boost-build +cp -a -r tools/build/v2/* $PKG/usr/share/boost-build/ +# Set boost-build default toolkit +echo "using gcc ;" >> $PKG/usr/share/boost-build/site-config.jam ## Move incorrectly installed include files if [ -d $PKG/usr/include/${PRGNAM}_${SRCVER} ]; then |