Get rid of all optimization flags in debug mode

main
kailiu 11 years ago
parent f0ee2356af
commit 6b9da48a03
  1. 2
      Makefile

@ -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)

Loading…
Cancel
Save