summaryrefslogtreecommitdiff
path: root/toolchain/glibc/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-23 09:54:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-23 09:54:45 +0200
commitd4afe78ea571d471789e2deac4c892a2698c2779 (patch)
treef4a7c31da51be6df848772fe60b35c53d4c81106 /toolchain/glibc/patches
parentdf5194ba782f8f999fee47d051bb5b5bded51aff (diff)
fix toolchain build on darwin, avoid (a|), which seems to be not documented in POSIX
Diffstat (limited to 'toolchain/glibc/patches')
-rw-r--r--toolchain/glibc/patches/sparc-darwin.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/glibc/patches/sparc-darwin.patch b/toolchain/glibc/patches/sparc-darwin.patch
new file mode 100644
index 000000000..8560a42cf
--- /dev/null
+++ b/toolchain/glibc/patches/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