summaryrefslogtreecommitdiffstats
path: root/external/libcdr/ax_gcc_func_attribute.m4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/libcdr/ax_gcc_func_attribute.m4.patch')
-rw-r--r--external/libcdr/ax_gcc_func_attribute.m4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/external/libcdr/ax_gcc_func_attribute.m4.patch b/external/libcdr/ax_gcc_func_attribute.m4.patch
new file mode 100644
index 000000000..37f4edf0b
--- /dev/null
+++ b/external/libcdr/ax_gcc_func_attribute.m4.patch
@@ -0,0 +1,11 @@
+--- configure
++++ configure
+@@ -19167,7 +19167,7 @@
+
+ _ACEOF
+ if ac_fn_cxx_try_link "$LINENO"; then :
+- if test -s conftest.err; then :
++ if grep -- -Wattributes conftest.err; then :
+ ax_cv_have_func_attribute_visibility=no
+ else
+ ax_cv_have_func_attribute_visibility=yes