Use --enable-minimal with the Javascript build

This commit is contained in:
Frank Denis 2014-07-09 21:14:27 -07:00
parent f6519378b4
commit e6e0b7d498

View File

@ -6,7 +6,7 @@ export OPTFLAGS="--llvm-lto 3 -Oz"
export CFLAGS="$OPTFLAGS --pre-js=test/default/pre.js "
export LDFLAGS="-s EXPORTED_FUNCTIONS=${EXPORTED_FUNCTIONS}"
emconfigure ./configure --disable-shared --prefix="$PREFIX" && \
emconfigure ./configure --enable-minimal --disable-shared --prefix="$PREFIX" && \
emmake make clean &&
emmake make install &&
emcc --closure 1 $OPTFLAGS $LDFLAGS \