diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-03-29 13:50:45 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-03-29 13:50:45 -0700 |
commit | b684e0fe03ea0ad949f087b0a4d58fa3a8b29116 (patch) | |
tree | 91a4a17ebdb6961f3a590d6f4656adb24e8cb8a5 /com32 | |
parent | d474e4fc651971f13a21cd73bd7768c8be352456 (diff) | |
download | syslinux-b684e0fe03ea0ad949f087b0a4d58fa3a8b29116.tar.gz |
MCONFIG: update gcc options for embedded and com32
Update the gcc options used for embedded and for com32 and make sure
they match.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32')
-rw-r--r-- | com32/MCONFIG | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/com32/MCONFIG b/com32/MCONFIG index 578e2832..0e152de3 100644 --- a/com32/MCONFIG +++ b/com32/MCONFIG @@ -17,10 +17,15 @@ include $(topdir)/MCONFIG -GCCOPT := $(call gcc_ok,-std=gnu99,) \ - $(call gcc_ok,-m32,) \ - $(call gcc_ok,-fno-stack-protector,) \ - -mregparm=3 -DREGPARM=3 -march=i386 -Os +GCCOPT := $(call gcc_ok,-std=gnu99,) \ + $(call gcc_ok,-m32,) \ + $(call gcc_ok,-fno-stack-protector,) \ + $(call gcc_ok,-falign-functions=0,-malign-functions=0) \ + $(call gcc_ok,-falign-jumps=0,-malign-jumps=0) \ + $(call gcc_ok,-falign-loops=0,-malign-loops=0) \ + $(call gcc_ok,-mpreferred-stack-boundary=2,) \ + $(call gcc_ok,-mincoming-stack-boundary=2,) \ + -march=i386 -Os -fomit-frame-pointer -mregparm=3 -DREGPARM=3 com32 = $(topdir)/com32 |