mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
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 <tech@askold.net> [1] PR: 154364 [1]
This commit is contained in:
parent
13f863d3af
commit
d5804fb6b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269511
25
lang/gcc/files/patch-default-i486
Normal file
25
lang/gcc/files/patch-default-i486
Normal file
@ -0,0 +1,25 @@
|
||||
2011-02-06 Tijl Coosemans <tijl@coosemans.org>
|
||||
|
||||
* 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
|
25
lang/gcc46/files/patch-default-i486
Normal file
25
lang/gcc46/files/patch-default-i486
Normal file
@ -0,0 +1,25 @@
|
||||
2011-02-06 Tijl Coosemans <tijl@coosemans.org>
|
||||
|
||||
* 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
|
25
lang/gcc47/files/patch-default-i486
Normal file
25
lang/gcc47/files/patch-default-i486
Normal file
@ -0,0 +1,25 @@
|
||||
2011-02-06 Tijl Coosemans <tijl@coosemans.org>
|
||||
|
||||
* 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
|
25
lang/gcc48/files/patch-default-i486
Normal file
25
lang/gcc48/files/patch-default-i486
Normal file
@ -0,0 +1,25 @@
|
||||
2011-02-06 Tijl Coosemans <tijl@coosemans.org>
|
||||
|
||||
* 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
|
Loading…
Reference in New Issue
Block a user