Missing bits needed for Emscripten compile (nw)

This commit is contained in:
Justin Kerk 2015-06-20 13:42:30 -07:00
parent d158684474
commit 039b1e0a12

View file

@ -244,6 +244,15 @@ ifndef NOASM
endif
endif
# Emscripten
ifeq ($(findstring emcc,$(CC)),emcc)
TARGETOS := asmjs
ARCHITECTURE :=
ifndef NOASM
NOASM := 1
endif
endif
# Autodetect BIGENDIAN
# MacOSX
ifndef BIGENDIAN