From d4afe78ea571d471789e2deac4c892a2698c2779 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Apr 2014 09:54:45 +0200 Subject: fix toolchain build on darwin, avoid (a|), which seems to be not documented in POSIX --- toolchain/glibc/patches/sparc-darwin.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 toolchain/glibc/patches/sparc-darwin.patch (limited to 'toolchain/glibc') 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 -- cgit v1.2.3