Use -O3 for emscripten.

This commit is contained in:
Matthew Justin Bauer 2015-07-07 00:47:16 -05:00
parent f9fd2cbb42
commit 2c33c1cd10

View File

@ -207,9 +207,6 @@ endif
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -g
CXXFLAGS += -O0 -g
else ifeq ($(platform), emscripten)
CFLAGS += -O2
CXXFLAGS += -O2 -fno-exceptions -fno-rtti -DHAVE_STDINT_H
else
CFLAGS += -O3
CXXFLAGS += -O3 -fno-exceptions -fno-rtti -DHAVE_STDINT_H