diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-03-09 12:18:22 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-03-09 12:18:22 -0400 |
commit | 5a869f02df8f150e6b0525b728fba25d913f96b9 (patch) | |
tree | 60a669d0429c7b2981c3d71c10d408a70c15c588 | |
parent | 16375ab5fb4fb0eae8e71dd14207080235e4c892 (diff) | |
download | seabios-5a869f02df8f150e6b0525b728fba25d913f96b9.tar.gz |
Add build option -fomit-frame-pointer.
It seems to improve code generation.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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,) |