aboutsummaryrefslogtreecommitdiffstats
path: root/MCONFIG.embedded
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-03-29 13:50:45 -0700
committerH. Peter Anvin <hpa@zytor.com>2010-03-29 13:50:45 -0700
commitb684e0fe03ea0ad949f087b0a4d58fa3a8b29116 (patch)
tree91a4a17ebdb6961f3a590d6f4656adb24e8cb8a5 /MCONFIG.embedded
parentd474e4fc651971f13a21cd73bd7768c8be352456 (diff)
downloadsyslinux-b684e0fe03ea0ad949f087b0a4d58fa3a8b29116.tar.gz
syslinux-b684e0fe03ea0ad949f087b0a4d58fa3a8b29116.tar.xz
syslinux-b684e0fe03ea0ad949f087b0a4d58fa3a8b29116.zip
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 'MCONFIG.embedded')
-rw-r--r--MCONFIG.embedded14
1 files changed, 8 insertions, 6 deletions
diff --git a/MCONFIG.embedded b/MCONFIG.embedded
index 37abe917..4b42e0da 100644
--- a/MCONFIG.embedded
+++ b/MCONFIG.embedded
@@ -16,12 +16,14 @@
include $(topdir)/MCONFIG
-GCCOPT := $(call gcc_ok,-m32,) \
- $(call gcc_ok,-ffreestanding,) \
- $(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) \
+GCCOPT := $(call gcc_ok,-m32,) \
+ $(call gcc_ok,-ffreestanding,) \
+ $(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 \
-msoft-float