diff options
author | peter <peter@FreeBSD.org> | 2000-08-11 23:23:20 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-08-11 23:23:20 +0000 |
commit | da5b232bcb7250ac3a784f385a3da32c32134f58 (patch) | |
tree | e0594e4bc2235132554294093fa5aab8e09d82fa /sys/boot/ficl/Makefile | |
parent | baf02ac10c43399de5557d3be78ddb65d2c1e84c (diff) | |
download | FreeBSD-src-da5b232bcb7250ac3a784f385a3da32c32134f58.zip FreeBSD-src-da5b232bcb7250ac3a784f385a3da32c32134f58.tar.gz |
Add -mpreferred-stack-boundary=2 to CFLAGS for i386. This and libstand
reduces /boot/loader from 163840 bytes to 155648 and pxeboot from 165888
bytes to 157696 bytes.
Diffstat (limited to 'sys/boot/ficl/Makefile')
-rw-r--r-- | sys/boot/ficl/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile index 88e3299..4f19de8 100644 --- a/sys/boot/ficl/Makefile +++ b/sys/boot/ficl/Makefile @@ -7,6 +7,9 @@ CLEANFILES= softcore.c testmain testmain.o .if ${MACHINE_ARCH} == "alpha" CFLAGS+= -mno-fp-regs .endif +.if ${MACHINE_ARCH} == "i386" +CFLAGS+= -mpreferred-stack-boundary=2 +.endif .ifmake testmain CFLAGS+= -DTESTMAIN -D_TESTMAIN SRCS+= testmain.c |