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"