fix warning with UNDEFINED_SYMBOLS

This commit is contained in:
Dmitry Ivakhnenko
2022-12-12 12:34:53 +03:00
parent 6a5f53ed6a
commit 8b6afad89d

View File

@@ -3,7 +3,7 @@ CC=emcc
all: clean dir asm
asm:
$(CC) sources/yoga/*.cpp sources/*.cc \
$(CC) sources/yoga/*.cpp sources/yoga/**/*.cpp sources/*.cc \
--bind \
-Isources \
-g0 \
@@ -18,14 +18,13 @@ asm:
-s DYNAMIC_EXECUTION=0 \
-s TEXTDECODER=0 \
-s ENVIRONMENT='web' \
-s ERROR_ON_UNDEFINED_SYMBOLS=0 \
-s FILESYSTEM=0 \
-s MALLOC="emmalloc" \
-s EXPORT_NAME="yoga" \
-o dist/asm.js
clean:
rm -rf dist
rm -rf dist
dir:
mkdir -p dist