Add flags

This commit is contained in:
Surma
2021-06-03 12:43:39 +01:00
committed by Surma
parent 2bc4ab8fd6
commit c7b998a877
2 changed files with 8799 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ ENV LDFLAGS "${CFLAGS} \
-s PTHREAD_POOL_SIZE=navigator.hardwareConcurrency \
-s ALLOW_MEMORY_GROWTH=1 \
-s TEXTDECODER=2 \
-s NODEJS_CATCH_EXIT=0 -s NODEJS_CATCH_REJECTION=0 \
"
# Build and cache standard libraries with these flags + Embind.
RUN emcc ${CXXFLAGS} ${LDFLAGS} --bind -xc++ /dev/null -o /dev/null

8799
package-lock.json generated

File diff suppressed because it is too large Load Diff