Rename android boost compiler target (to differ from arm build).
authorDaniel G <giri@nwrk.biz>
Wed, 13 Feb 2019 03:12:18 +0000 (04:12 +0100)
committerDaniel G <giri@nwrk.biz>
Wed, 13 Feb 2019 03:12:18 +0000 (04:12 +0100)
_template/packages/boost1.68.0/Makefile

index 03e9181..87c15b0 100644 (file)
@@ -54,14 +54,14 @@ linux_arm:
        cp -r  $(WORKDIR)/boost_1_68_0/stage/lib/* ../../lib/linux_arm
 
 android_arm:
-       echo "using gcc : arm : arm-linux-androideabi-g++ ;" > $(WORKDIR)/boost_1_68_0/user-config.jam
+       echo "using gcc : androidarm : arm-linux-androideabi-g++ ;" > $(WORKDIR)/boost_1_68_0/user-config.jam
        cd $(WORKDIR)/boost_1_68_0; \
        ./bootstrap.sh; \
        ./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" \
-       address-model=32 toolset=gcc-arm link=static runtime-link=static variant=release $(MODULES)
+       address-model=32 toolset=gcc-androidarm link=static runtime-link=static variant=release $(MODULES)
        mkdir -p $(WORKDIR)/../../lib_include/android_arm
        mkdir -p $(WORKDIR)/../../lib/android_arm
        cp -rf $(WORKDIR)/boost_1_68_0/boost $(WORKDIR)/../../lib_include/android_arm