diff options
author | kan <kan@FreeBSD.org> | 2004-07-30 04:27:20 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2004-07-30 04:27:20 +0000 |
commit | 1386d0ec0217e7974df99f5d675ea3f7031c4cc7 (patch) | |
tree | 517fbb35ccca782a33a740b95a7d8acce5a4e784 /sys/boot/i386/boot2/Makefile | |
parent | 0a0da3ded81ae516e48317e0942d333dd78b0118 (diff) | |
download | FreeBSD-src-1386d0ec0217e7974df99f5d675ea3f7031c4cc7.zip FreeBSD-src-1386d0ec0217e7974df99f5d675ea3f7031c4cc7.tar.gz |
Compile boot2 with -fno-unit-at-a-time. GCCs aggressive optimization
breaks boot in spectacular ways otherwise.
Diffstat (limited to 'sys/boot/i386/boot2/Makefile')
-rw-r--r-- | sys/boot/i386/boot2/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index ed3f9c2..3e23061 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/Makefile @@ -21,7 +21,9 @@ BOOT2_UFS?= UFS1_AND_UFS2 #BOOT2_UFS?= UFS1_ONLY CFLAGS= -Os \ - -fno-guess-branch-probability -fomit-frame-pointer\ + -fno-guess-branch-probability \ + -fomit-frame-pointer \ + -fno-unit-at-a-time \ -mno-align-long-strings \ -mrtd \ -D${BOOT2_UFS} \ |