diff options
| author | 2015-06-20 13:42:30 -0700 | |
|---|---|---|
| committer | 2015-06-20 13:42:30 -0700 | |
| commit | 039b1e0a12e5d4b97062c1655ed620cb051d0154 (patch) | |
| tree | 3ad634c4e4952c172a61c3a8aca25840b2af3559 /makefile | |
| parent | d1586844748e9bfe49773df2932c71a7051a9778 (diff) | |
Missing bits needed for Emscripten compile (nw)
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |
