Try without CFLAGS

This commit is contained in:
Matt McWilliams 2021-09-22 02:45:29 -04:00
parent 39d84839b4
commit 8eabc4c842
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ NAME="Matt McWilliams"
BOOST_ROOT="/lib/x86_64-linux-gnu/" 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=(
--arch=x86_32 # use x86_32 to achieve minimal architectural optimization --arch=x86_32 # use x86_32 to achieve minimal architectural optimization
@ -30,7 +30,7 @@ CONFIG_ARGS=(
ARGS=( ARGS=(
--with-boost-libdir=${BOOST_ROOT} --with-boost-libdir=${BOOST_ROOT}
#LIBS="-lboost_system -lboost_thread -lboost_date_time" #LIBS="-lboost_system -lboost_thread -lboost_date_time" #libs breaks build earlier
COMPILED_BY="$NAME <$EMAIL>" COMPILED_BY="$NAME <$EMAIL>"
CC=emcc CC=emcc
CXX=em++ CXX=em++