Clean boost targets properly before build.
authorDaniel G <giri@nwrk.biz>
Wed, 13 Feb 2019 02:44:24 +0000 (03:44 +0100)
committerDaniel G <giri@nwrk.biz>
Wed, 13 Feb 2019 02:44:24 +0000 (03:44 +0100)
_template/packages/boost1.68.0/Makefile

index e628e29..03e9181 100644 (file)
@@ -25,7 +25,7 @@ windows:
        echo "using gcc : mingw : i686-w64-mingw32-g++ : <rc>/usr/bin/x86_64-w64-mingw32-windres ;" > $(WORKDIR)/boost_1_68_0/user-config.jam
        cd $(WORKDIR)/boost_1_68_0; \
        ./bootstrap.sh; \
-       ./b2 --clean; \
+       ./b2 --clean-all; \
        ./b2 --user-config="user-config.jam" cflags="-m32 -mwindows" cxxflags="-m32 -mwindows" linkflags="-m32 -static-libgcc -static-libstdc++"  address-model=32 toolset=gcc-mingw link=static target-os=windows runtime-link=static variant=release $(MODULES)
        mkdir -p $(WORKDIR)/../../lib_include/mingw32
        mkdir -p $(WORKDIR)/../../lib/mingw32
@@ -35,7 +35,7 @@ windows:
 linux32:
        cd $(WORKDIR)/boost_1_68_0; \
        ./bootstrap.sh; \
-       ./b2 --clean; \
+       ./b2 --clean-all; \
        ./b2 cflags="-m32" cxxflags="-m32" linkflags="-m32 -static-libgcc -static-libstdc++" address-model=32 link=static runtime-link=static variant=release $(MODULES)
        mkdir -p $(WORKDIR)/../../lib_include/linux32
        mkdir -p $(WORKDIR)/../../lib/linux32
@@ -46,7 +46,7 @@ linux_arm:
        echo "using gcc : arm : arm-linux-gnueabihf-g++ ;" > $(WORKDIR)/boost_1_68_0/user-config.jam
        cd $(WORKDIR)/boost_1_68_0; \
        ./bootstrap.sh; \
-       ./b2 --clean; \
+       ./b2 --clean-all; \
        ./b2 --user-config="user-config.jam" linkflags="-static-libgcc -static-libstdc++" address-model=32 toolset=gcc-arm link=static runtime-link=static variant=release $(MODULES)
        mkdir -p $(WORKDIR)/../../lib_include/linux_arm
        mkdir -p $(WORKDIR)/../../lib/linux_arm
@@ -57,7 +57,7 @@ android_arm:
        echo "using gcc : arm : arm-linux-androideabi-g++ ;" > $(WORKDIR)/boost_1_68_0/user-config.jam
        cd $(WORKDIR)/boost_1_68_0; \
        ./bootstrap.sh; \
-       ./b2 --clean; \
+       ./b2 --clean-all; \
        ./b2 --user-config="user-config.jam" cflags="--sysroot=$(ANDROID_NDK_HOME)/platforms/android-23/arch-arm -I$(ANDROID_NDK_HOME)/sources/cxx-stl/llvm-libc++/libcxx/include" \
        cxxflags="-std=c++11 --sysroot=$(ANDROID_NDK_HOME)/platforms/android-23/arch-arm -I$(ANDROID_NDK_HOME)/sources/cxx-stl/llvm-libc++/libcxx/include -I$(ANDROID_NDK_HOME)/sources/android/support/include -march=armv7-a" \
        linkflags="-std=c++11 --sysroot=$(ANDROID_NDK_HOME)/platforms/android-23/arch-arm -static-libgcc -static-libstdc++ -march=armv7-a" \