diff options
-rw-r--r-- | lang/gcc/files/patch-default-i486 | 25 | ||||
-rw-r--r-- | lang/gcc46/files/patch-default-i486 | 25 | ||||
-rw-r--r-- | lang/gcc47/files/patch-default-i486 | 25 | ||||
-rw-r--r-- | lang/gcc48/files/patch-default-i486 | 25 |
4 files changed, 100 insertions, 0 deletions
diff --git a/lang/gcc/files/patch-default-i486 b/lang/gcc/files/patch-default-i486 new file mode 100644 index 000000000000..370ff70b1e1b --- /dev/null +++ b/lang/gcc/files/patch-default-i486 @@ -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 diff --git a/lang/gcc46/files/patch-default-i486 b/lang/gcc46/files/patch-default-i486 new file mode 100644 index 000000000000..370ff70b1e1b --- /dev/null +++ b/lang/gcc46/files/patch-default-i486 @@ -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 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 <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 diff --git a/lang/gcc48/files/patch-default-i486 b/lang/gcc48/files/patch-default-i486 new file mode 100644 index 000000000000..370ff70b1e1b --- /dev/null +++ b/lang/gcc48/files/patch-default-i486 @@ -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 |