# This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2004/09/12 16:31:46+09:00 tj@htj.dyndns.org # Newer gcc versions automatically turns on -fomit-frame-pointer when # -O2 is specified thus breaking CONFIG_FRAME_POINTER option. # Explicitly specifying -fno-omit-frame-pointer fixes it. # # Makefile # 2004/09/12 16:31:40+09:00 tj@htj.dyndns.org +3 -1 # Newer gcc versions automatically turns on -fomit-frame-pointer when # -O2 is specified thus breaking CONFIG_FRAME_POINTER option. # Explicitly specifying -fno-omit-frame-pointer fixes it. # diff -Nru a/Makefile b/Makefile --- a/Makefile 2004-09-12 18:04:54 +09:00 +++ b/Makefile 2004-09-12 18:04:54 +09:00 @@ -486,7 +486,9 @@ CFLAGS += -O2 endif -ifndef CONFIG_FRAME_POINTER +ifdef CONFIG_FRAME_POINTER +CFLAGS += -fno-omit-frame-pointer +else CFLAGS += -fomit-frame-pointer endif