aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/glibc/glibc-2.3.2/sparcv8-target.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/glibc/glibc-2.3.2/sparcv8-target.patch')
-rw-r--r--recipes/glibc/glibc-2.3.2/sparcv8-target.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-2.3.2/sparcv8-target.patch b/recipes/glibc/glibc-2.3.2/sparcv8-target.patch
new file mode 100644
index 0000000000..f2dae8c15b
--- /dev/null
+++ b/recipes/glibc/glibc-2.3.2/sparcv8-target.patch
@@ -0,0 +1,28 @@
+--- configure~ 2003-06-17 09:24:52.000000000 -0400
++++ configure 2003-06-17 09:25:19.000000000 -0400
+@@ -1796,6 +1796,11 @@
+ machine="powerpc"
+ fi
+
++# Force v8
++if test "$machine" = sparc; then
++ machine="sparcv8"
++fi
++
+ # Braindead PowerPC box with absolutely no FPU.
+ case "$machine-$host_os" in
+ powerpc*-*soft)
+--- configure.in~ 2003-06-17 09:24:55.000000000 -0400
++++ configure.in 2003-06-17 09:25:29.000000000 -0400
+@@ -337,6 +337,11 @@
+ machine="powerpc"
+ fi
+
++# Force v8
++if test "$machine" = sparc; then
++ machine="sparcv8"
++fi
++
+ # Braindead PowerPC box with absolutely no FPU.
+ case "$machine-$host_os" in
+ powerpc*-*soft)