diff options
author | nyan <nyan@FreeBSD.org> | 2007-10-15 14:20:24 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2007-10-15 14:20:24 +0000 |
commit | 4669413153ac9e0365361b48db4e2a0cc5e37ef4 (patch) | |
tree | 2a519489b85e59f9ebc3c376f97e8d2529937b5d /sys/boot/pc98 | |
parent | be4cf9548f56375244247312102ae190a6753ecb (diff) | |
download | FreeBSD-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 'sys/boot/pc98')
-rw-r--r-- | sys/boot/pc98/Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/pc98/Makefile.inc b/sys/boot/pc98/Makefile.inc index 379dae3..5bdddee 100644 --- a/sys/boot/pc98/Makefile.inc +++ b/sys/boot/pc98/Makefile.inc @@ -6,7 +6,8 @@ BINDIR?= /boot LOADER_ADDRESS?=0x100000 CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 \ - -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 + -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 \ + -Os LDFLAGS+= -nostdlib # BTX components |