Get rid of all optimization flags in debug mode

This commit is contained in:
kailiu 2014-03-03 21:05:58 -08:00
parent f0ee2356af
commit 6b9da48a03

View file

@ -10,7 +10,7 @@ INSTALL_PATH ?= $(CURDIR)
ifneq ($(MAKECMDGOALS),dbg) ifneq ($(MAKECMDGOALS),dbg)
OPT += -O2 -fno-omit-frame-pointer -momit-leaf-frame-pointer OPT += -O2 -fno-omit-frame-pointer -momit-leaf-frame-pointer
else else
OPT += -fno-omit-frame-pointer -momit-leaf-frame-pointer # intentionally left blank
endif endif
ifeq ($(MAKECMDGOALS),shared_lib) ifeq ($(MAKECMDGOALS),shared_lib)