Browse Source

enables coroutine and context

android-5
its-pointless 7 years ago
committed by Fredrik Fornwall
parent
commit
f8ac1320a4
  1. 14
      packages/boost/build.sh

14
packages/boost/build.sh

@ -12,9 +12,14 @@ TERMUX_PKG_REPLACES="libboost-python (<= 1.65.1-2)"
termux_step_make_install() { termux_step_make_install() {
rm $TERMUX_PREFIX/lib/libboost* -f rm $TERMUX_PREFIX/lib/libboost* -f
rm $TERMUX_PREFIX/include/boost -rf rm $TERMUX_PREFIX/include/boost -rf
./bootstrap.sh ./bootstrap.sh
if [ $TERMUX_ARCH = "arm" ] || [ $TERMUX_ARCH = "aarch64" ]; then
BOOSTARCH=arm
BOOSTABI=aapcs
else
BOOSTARCH=x86
BOOSTABI=sysv
fi
echo "using clang : $TERMUX_ARCH : $CXX : <linkflags>-L/data/data/com.termux/files/usr/lib ; " >> project-config.jam echo "using clang : $TERMUX_ARCH : $CXX : <linkflags>-L/data/data/com.termux/files/usr/lib ; " >> project-config.jam
echo "using python : 3.6 : $TERMUX_PREFIX/bin/python3 : $TERMUX_PREFIX/include/python3.6m : $TERMUX_PREFIX/lib ;" >> project-config.jam echo "using python : 3.6 : $TERMUX_PREFIX/bin/python3 : $TERMUX_PREFIX/include/python3.6m : $TERMUX_PREFIX/lib ;" >> project-config.jam
@ -25,11 +30,12 @@ termux_step_make_install() {
--prefix="$TERMUX_PREFIX" \ --prefix="$TERMUX_PREFIX" \
-q \ -q \
--without-stacktrace \ --without-stacktrace \
--without-coroutine \
--without-context \
--without-log \ --without-log \
--disable-icu \ --disable-icu \
cxxflags="$CXXFLAGS" \ cxxflags="$CXXFLAGS" \
architecture=$BOOSTARCH \
abi=$BOOSTABI \
binary-format=elf \
link=shared \ link=shared \
threading=multi \ threading=multi \
install install

Loading…
Cancel
Save