diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile index d6c645f0f336..b41a820275f4 100644 --- a/Makefile +++ b/Makefile @@ -22,8 +22,15 @@ makefiles = \ doc/manual/local.mk \ tests/local.mk -GLOBAL_CXXFLAGS += -std=c++0x +GLOBAL_CXXFLAGS += -std=c++0x -g -Wall include Makefile.config +OPTIMIZE = 1 + +ifeq ($(OPTIMIZE), 1) + GLOBAL_CFLAGS += -O3 + GLOBAL_CXXFLAGS += -O3 +endif + include mk/lib.mk |