From: Holger Lubitz Date: Sun, 17 Jun 2007 20:16:31 +0000 (+0200) Subject: Add -mpreferred-stack-boundary=2 to i386 CFLAGS as it's almost always a win. X-Git-Tag: v0.9.3~234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff85d9f15a1d858782c4a92a11e03c6a211e5c8;p=thirdparty%2Fipxe.git Add -mpreferred-stack-boundary=2 to i386 CFLAGS as it's almost always a win. --- diff --git a/src/arch/i386/Config b/src/arch/i386/Config index 03836c8b5..dc96e0af8 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"