Disable LTO on wasm.

wasm-ld: error: /home/wolf/.emscripten_cache/sysroot/lib/wasm32-emscripten/lto/libc-mt.a(ntohs.o): attempt to add bitcode file after LTO.
wasm-ld: error: /home/wolf/.emscripten_cache/sysroot/lib/wasm32-emscripten/lto/libc-mt.a(htonl.o): attempt to add bitcode file after LTO.
This commit is contained in:
Bartosz Taudul 2023-05-07 16:10:40 +02:00
parent 72cfa3e0d1
commit 64daca9f79
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1,7 +1,4 @@
CFLAGS := -Os
ifndef TRACY_NO_LTO
CFLAGS += -flto
endif
DEFINES := -DNDEBUG
BUILD := release
LIBS := -sASSERTIONS=0