Update Makefile

This commit is contained in:
Paul m. p. P 2019-08-07 15:30:27 +02:00 committed by GitHub
parent f27eba6850
commit a055ff4f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ ifdef EMSCRIPTEN
#check if not using emscripten-upstream branch
ifeq (,$(findstring upstream/bin, $(EMMAKEN_COMPILER)))
JSFLAGS += -s "BINARYEN_TRAP_MODE='clamp'"
LDFLAGS = -m32 -Wl,-Map=$@.map,--cref -Wl,--gc-sections
LDFLAGS += -Wl,-Map=$@.map,--cref -Wl,--gc-sections
endif
CC = emcc