summaryrefslogtreecommitdiffstats
path: root/lib/libstand/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-08-11 23:18:37 +0000
committerpeter <peter@FreeBSD.org>2000-08-11 23:18:37 +0000
commitbaf02ac10c43399de5557d3be78ddb65d2c1e84c (patch)
tree26c96e34410528b4d7bc7a992147f7c7db6aa42a /lib/libstand/Makefile
parent3793476658429412267ab8d5e0de48a9fe68cba5 (diff)
downloadFreeBSD-src-baf02ac10c43399de5557d3be78ddb65d2c1e84c.zip
FreeBSD-src-baf02ac10c43399de5557d3be78ddb65d2c1e84c.tar.gz
Add the -mpreferred-stack-boundary=2 option to reduce code bloat. We
compile the kernel with this.
Diffstat (limited to 'lib/libstand/Makefile')
-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