summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libstand/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index be8517d..f895b0d 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -18,6 +18,10 @@ CFLAGS+= -Wall
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -mno-fp-regs
.endif
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+= -mpreferred-stack-boundary=2
+.endif
+
# standalone components and stuff we have modified locally
SRCS+= __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \
OpenPOWER on IntegriCloud