Added the -fno-omit-frame-pointer option to the DEBUG mode.
authorFrancois Fleuret <francois@fleuret.org>
Fri, 1 May 2009 21:11:05 +0000 (23:11 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Fri, 1 May 2009 21:11:05 +0000 (23:11 +0200)
Makefile

index 822005c..8e18fe3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ LDFLAGS=-lcurses
 REVISION_NUMBER=$(shell cat REVISION_NUMBER)
 
 ifeq ($(DEBUG),yes)
-  OPTIMIZE_FLAG = -ggdb3 -DDEBUG
+  OPTIMIZE_FLAG = -ggdb3 -DDEBUG -fno-omit-frame-pointer
 else
   OPTIMIZE_FLAG = -ggdb3 -O3
 endif