diff options
author | 2006-09-24 20:45:27 +0000 | |
---|---|---|
committer | 2006-09-24 20:45:27 +0000 | |
commit | ecf913c57082ebeb7831a8fd43df5a7ec6952aca (patch) | |
tree | fa4951335af8bbf230698e58ee294424c1d90902 /sys-freebsd/boot0/files | |
parent | Stable on ppc64; bug #148986 (diff) | |
download | gentoo-2-ecf913c57082ebeb7831a8fd43df5a7ec6952aca.tar.gz gentoo-2-ecf913c57082ebeb7831a8fd43df5a7ec6952aca.tar.bz2 gentoo-2-ecf913c57082ebeb7831a8fd43df5a7ec6952aca.zip |
Fix compilation over an i586 CHOST of boot2 by forcing -march=i386 to its Makefile.
(Portage version: 2.1.2_pre1-r1)
Diffstat (limited to 'sys-freebsd/boot0/files')
-rw-r--r-- | sys-freebsd/boot0/files/boot0-6.0-gentoo.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-freebsd/boot0/files/boot0-6.0-gentoo.patch b/sys-freebsd/boot0/files/boot0-6.0-gentoo.patch index 53b8f942ea43..6c6261027cba 100644 --- a/sys-freebsd/boot0/files/boot0-6.0-gentoo.patch +++ b/sys-freebsd/boot0/files/boot0-6.0-gentoo.patch @@ -67,11 +67,12 @@ Index: sys/boot/i386/boot2/Makefile =================================================================== --- sys/boot/i386/boot2/Makefile.orig +++ sys/boot/i386/boot2/Makefile -@@ -24,7 +24,6 @@ CFLAGS= -Os \ +@@ -24,7 +24,7 @@ CFLAGS= -Os \ -fno-guess-branch-probability \ -fomit-frame-pointer \ -fno-unit-at-a-time \ - -mno-align-long-strings \ ++ -march=i386 \ -mrtd \ -mno-mmx -mno-3dnow -mno-sse -mno-sse2 \ -D${BOOT2_UFS} \ |