summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2007-10-15 14:20:24 +0000
committernyan <nyan@FreeBSD.org>2007-10-15 14:20:24 +0000
commit4669413153ac9e0365361b48db4e2a0cc5e37ef4 (patch)
tree2a519489b85e59f9ebc3c376f97e8d2529937b5d /lib/libstand
parentbe4cf9548f56375244247312102ae190a6753ecb (diff)
downloadFreeBSD-src-4669413153ac9e0365361b48db4e2a0cc5e37ef4.zip
FreeBSD-src-4669413153ac9e0365361b48db4e2a0cc5e37ef4.tar.gz
Optimize for size on pc98. It enables to boot a kernel again.
I don't know what's wrong (loader, boot2 or others), but this change is effective. Tested by: NAKAJI Hiroyuki MFC after: 3 days
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index a06cf51..c2fc7a4 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -22,6 +22,9 @@ CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2
.if ${MACHINE_ARCH} == "i386"
CFLAGS+= -mno-sse3
.endif
+.if ${MACHINE} == "pc98"
+CFLAGS+= -Os
+.endif
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -msoft-float -D_STANDALONE
.endif
OpenPOWER on IntegriCloud