Compile boot2 with -fno-unit-at-a-time. GCCs aggressive optimization

breaks boot in spectacular ways otherwise.
This commit is contained in:
Alexander Kabaev 2004-07-30 04:27:20 +00:00
parent 769756525d
commit 3cd25b7e7b
2 changed files with 6 additions and 2 deletions

View file

@ -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} \

View file

@ -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} \