Add -O2 flag

This commit is contained in:
lvandeve 2015-07-30 18:08:40 +02:00
parent 13f0a9b05b
commit afbec112a5

View File

@ -6,7 +6,7 @@ CXX ?= g++
EMCC = emcc
EMCCFLAGS = -O1 -W -Wall
COMMON_FLAGS = -fno-omit-frame-pointer -no-canonical-prefixes
COMMON_FLAGS = -fno-omit-frame-pointer -no-canonical-prefixes -O2
ifeq ($(OS), Darwin)
CPPFLAGS += -DOS_MACOSX