Use --enable-minimal with the Javascript build
This commit is contained in:
parent
f6519378b4
commit
e6e0b7d498
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user