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)
OPT += -O2 -fno-omit-frame-pointer -momit-leaf-frame-pointer
else
OPT += -fno-omit-frame-pointer -momit-leaf-frame-pointer
# intentionally left blank
endif
ifeq ($(MAKECMDGOALS),shared_lib)