diff options
author | Holger Lubitz <hal@duncan.ol.sub.de> | 2007-06-17 22:16:31 +0200 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-07-09 03:32:54 +0100 |
commit | 4ff85d9f15a1d858782c4a92a11e03c6a211e5c8 (patch) | |
tree | daf32cc4d48f280706b758df2c2518750fe02351 /src/arch | |
parent | bfc473775111da4f13f7b7919247e86060f563df (diff) | |
download | ipxe-4ff85d9f15a1d858782c4a92a11e03c6a211e5c8.tar.gz |
Add -mpreferred-stack-boundary=2 to i386 CFLAGS as it's almost always a win.
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/i386/Config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/i386/Config b/src/arch/i386/Config index 03836c8b..dc96e0af 100644 --- a/src/arch/i386/Config +++ b/src/arch/i386/Config @@ -136,6 +136,9 @@ ifneq ($(GCC_MINORVERSION),4) CFLAGS+= -march=i386 endif +# this is almost always a win. the kernel uses it, too. +CFLAGS+= -mpreferred-stack-boundary=2 + LDFLAGS+= -N ifeq "$(shell uname -s)" "FreeBSD" |