projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16375ab
)
Add build option -fomit-frame-pointer.
author
Kevin O'Connor
<kevin@koconnor.net>
Sun, 9 Mar 2008 16:18:22 +0000
(12:18 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sun, 9 Mar 2008 16:18:22 +0000
(12:18 -0400)
It seems to improve code generation.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 50a29d5ca435f4b9aced405d1e6cb39540af0370..6938bef84ef1680199b0fcc86df750ff930cc23e 100644
(file)
--- 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,)