From 8d28de630c18c9ea2192a3acbfecd3e7f3ead4b7 Mon Sep 17 00:00:00 2001 From: gerald Date: Tue, 22 Feb 2011 18:57:48 +0000 Subject: Update to the 20110219 snapshot of GCC 4.6.0. This addresses the pollution of common namespace by share/python/aotcompile.py and share/python/classfile.py which are now saved in version-specific directories. By means of an extra patch default code generation on i386 now defaults to i486 on FreeBSD 6 and above. [1] Submitted by: tijl [1] Reported by: Yuri Karaban [1] PR: 154364 [1] --- lang/gcc47/files/patch-default-i486 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lang/gcc47/files/patch-default-i486 (limited to 'lang/gcc47') diff --git a/lang/gcc47/files/patch-default-i486 b/lang/gcc47/files/patch-default-i486 new file mode 100644 index 000000000000..370ff70b1e1b --- /dev/null +++ b/lang/gcc47/files/patch-default-i486 @@ -0,0 +1,25 @@ +2011-02-06 Tijl Coosemans + + * config.gcc (i386-*-freebsd*): Default arch is i486. + +Index: gcc/config.gcc +=================================================================== +--- gcc/config.gcc (revision 170369) ++++ gcc/config.gcc (working copy) +@@ -2795,6 +2795,16 @@ + arch_without_sse2=no + arch_without_64bit=no + case ${target} in ++ i386-*-freebsd*) ++ if test $fbsd_major -ge 6; then ++ arch=i486 ++ else ++ arch=i386 ++ fi ++ cpu=generic ++ arch_without_sse2=yes ++ arch_without_64bit=yes ++ ;; + i386-*-*) + arch=i386 + cpu=i386 -- cgit