From 4ff85d9f15a1d858782c4a92a11e03c6a211e5c8 Mon Sep 17 00:00:00 2001 From: Holger Lubitz Date: Sun, 17 Jun 2007 22:16:31 +0200 Subject: [PATCH] Add -mpreferred-stack-boundary=2 to i386 CFLAGS as it's almost always a win. --- src/arch/i386/Config | 3 +++ 1 file changed, 3 insertions(+) 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"