aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2005-10-08 05:54:29 +0800
committerambrisko <ambrisko@FreeBSD.org>2005-10-08 05:54:29 +0800
commitbeda04c519a84a00a44c10638d8453c6f37f0430 (patch)
tree5f4e3c4336decdd1e5f8fd1f18b2206404d1fc51
parent485ff9695f2fdce80b0a5cc3f4a9174cec0876e5 (diff)
downloadfreebsd-ports-gnome-beda04c519a84a00a44c10638d8453c6f37f0430.tar.gz
freebsd-ports-gnome-beda04c519a84a00a44c10638d8453c6f37f0430.tar.zst
freebsd-ports-gnome-beda04c519a84a00a44c10638d8453c6f37f0430.zip
From the PR:
Without this patch GCC optimizer removes all card driver code resulting in nonworking rom image. There are some bugs in GCC-3.4.2, maybe updating system compiler to latest gcc snapshot will be good idea also. This still occurs in 7-current gcc version 3.4.4 [FreeBSD] 20050518. So adding in the patch. PR: 78834 Submitted by: Radim Kolar
-rw-r--r--net/etherboot/files/patch-gcc3427
1 files changed, 27 insertions, 0 deletions
diff --git a/net/etherboot/files/patch-gcc34 b/net/etherboot/files/patch-gcc34
new file mode 100644
index 000000000000..4de58d6c5bfe
--- /dev/null
+++ b/net/etherboot/files/patch-gcc34
@@ -0,0 +1,27 @@
+--- ./arch/i386/Config.orig Mon Feb 23 02:26:09 2004
++++ ./arch/i386/Config Wed Feb 2 17:32:30 2005
+@@ -101,11 +101,11 @@
+ # LCONFIG+= -DBBS_BUT_NOT_PNP_COMPLIANT
+ # LCONFIG+= -DBOOT_INT18H
+
+-CFLAGS+= -fstrength-reduce -fomit-frame-pointer -mcpu=i386 -march=i386
++CFLAGS+= -fstrength-reduce -fomit-frame-pointer -march=i386
+ # Squeeze the code in as little space as possible.
+ # These old options generate warnings from gcc 3.3,
+ # but I can't get rid of them until everybody upgrades
+-CFLAGS+= -malign-jumps=1 -malign-loops=1 -malign-functions=1
++CFLAGS+= -falign-jumps=1 -falign-loops=1 -falign-functions=1
+
+ LDFLAGS+= -N -Ttext $(RELOCADDR)
+
+--- ./Config.orig Wed Feb 2 17:30:16 2005
++++ ./Config Wed Feb 2 17:30:27 2005
+@@ -327,7 +327,7 @@
+ RANLIB= ranlib
+ OBJCOPY= objcopy
+
+-CFLAGS+= -Os -ffreestanding
++CFLAGS+= -O -ffreestanding
+ CFLAGS+= -Wall -W -Wno-format
+ ASFLAGS+=
+ LDFLAGS+=