From 5a869f02df8f150e6b0525b728fba25d913f96b9 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 9 Mar 2008 12:18:22 -0400 Subject: [PATCH] Add build option -fomit-frame-pointer. It seems to improve code generation. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 50a29d5..6938bef 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ cc-option = $(shell if test -z "`$(1) $(2) -S -o /dev/null -xc \ # Default compiler flags COMMONCFLAGS = -Wall -Os -MD -m32 -march=i386 -mregparm=2 \ - -ffreestanding -fwhole-program + -ffreestanding -fwhole-program -fomit-frame-pointer COMMONCFLAGS += $(call cc-option,$(CC),-nopie,) COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,) -- 2.25.1