From ec03261dc60826c9e0a44d9f8cfa3e119fdab3a8 Mon Sep 17 00:00:00 2001 From: chrox Date: Sat, 10 Nov 2012 09:06:22 +0800 Subject: [PATCH] -fomit-frame-pointer is enabled at level -O, -O2, -O3 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6e3c0d6cf..89094c3b6 100644 --- a/Makefile +++ b/Makefile @@ -35,8 +35,8 @@ HOSTCXX:=g++ HOSTAR:=ar # Base CFLAGS, without arch. We'll need it for luajit, because its Makefiles do some tricky stuff to differentiate HOST/TARGET -BASE_CFLAGS:=-O2 -ffast-math -pipe -fomit-frame-pointer -KOPT_CFLAGS:=-O3 -ffast-math -pipe -fomit-frame-pointer +BASE_CFLAGS:=-O2 -ffast-math -pipe +KOPT_CFLAGS:=-O3 -ffast-math -pipe # Use this for debugging: #BASE_CFLAGS:=-O0 -g # Misc GCC tricks to ensure backward compatibility with the K2, even when using a fairly recent TC (Linaro/MG).