Identify the boost root in the new build_ubuntu script

This commit is contained in:
Matt McWilliams 2021-09-22 02:14:38 -04:00
parent 7b9308bd34
commit b42b016f5b
1 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,8 @@
EMAIL="hi@mmcwilliams.com" EMAIL="hi@mmcwilliams.com"
NAME="Matt McWilliams" NAME="Matt McWilliams"
BOOST_ROOT="/lib/x86_64-linux-gnu/"
CFLAGS="-pthread " #-DBOOST_THREAD_USE_LIB -s USE_BOOST_HEADERS=1 CFLAGS="-pthread " #-DBOOST_THREAD_USE_LIB -s USE_BOOST_HEADERS=1
LDFLAGS="$CFLAGS -s INITIAL_MEMORY=33554432" # 33554432 bytes = 32 MB LDFLAGS="$CFLAGS -s INITIAL_MEMORY=33554432" # 33554432 bytes = 32 MB
CONFIG_ARGS=( CONFIG_ARGS=(
@ -41,8 +43,7 @@ cd unix/
./prebuild.sh ./prebuild.sh
cd ../ cd ../
#BOOST_ROOT=$BOOST_ROOT BOOST_ROOT=$BOOST_ROOT emconfigure ./configure "${ARGS[@]}"
emconfigure ./configure "${ARGS[@]}"
#emmake make -j CPPFLAGS="${CPPFLAGS}" #emmake make -j CPPFLAGS="${CPPFLAGS}"
#make install #make install