replace -DWASM with compiler internal __EMSCRIPTEN__

This commit is contained in:
Adam Powers
2020-08-27 22:15:12 -07:00
parent 18254eb291
commit c9f5bb9ac4
4 changed files with 9 additions and 13 deletions

View File

@@ -148,9 +148,6 @@ CXX_V1 = @echo "[CXX] $<"; $(ACTUAL_CXX)
CXX = $(CXX_V$(QUIETCC))
CFLAGS+=-I../include
ifdef WANT_WASM
CFLAGS+=-DWASM
endif
# LD and LINK might be based on invoking CC and may not be able to substitute
# for QUIETCC, so feedback from them is handled differently (via $AT)