summaryrefslogtreecommitdiff
path: root/toolchain/glibc/patches/2.19/sparc-darwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/glibc/patches/2.19/sparc-darwin.patch')
-rw-r--r--toolchain/glibc/patches/2.19/sparc-darwin.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/glibc/patches/2.19/sparc-darwin.patch b/toolchain/glibc/patches/2.19/sparc-darwin.patch
new file mode 100644
index 000000000..8560a42cf
--- /dev/null
+++ b/toolchain/glibc/patches/2.19/sparc-darwin.patch
@@ -0,0 +1,12 @@
+diff -Nur glibc-2.19.orig/configure glibc-2.19/configure
+--- glibc-2.19.orig/configure 2014-02-07 10:04:38.000000000 +0100
++++ glibc-2.19/configure 2014-04-16 23:11:01.000000000 +0200
+@@ -6228,7 +6228,7 @@
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }
+ then
+- if $READELF -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
++ if $READELF -S conftest.so | grep '\.\(rela\|rel\)\.dyn' > /dev/null; then
+ libc_cv_z_combreloc=yes
+ else
+ libc_cv_z_combreloc=no