summaryrefslogtreecommitdiff
path: root/Build/source/libs/cairo/configure
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-02-04 07:49:08 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-02-04 07:49:08 +0000
commitc69733db0ab3b4a954e87443796acd9cac435062 (patch)
tree8c77212377e9e15326590b552cbc015b98b79ed5 /Build/source/libs/cairo/configure
parent2bc219951a857706b1b0f9806d1f14728766fcba (diff)
Use -Wno-attributes only for gcc Version 4.2 and better (unsupported in 4.0.1)
git-svn-id: svn://tug.org/texlive/trunk@32870 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/cairo/configure')
-rwxr-xr-xBuild/source/libs/cairo/configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/libs/cairo/configure b/Build/source/libs/cairo/configure
index fd63bc8ceca..f8dbfe1be92 100755
--- a/Build/source/libs/cairo/configure
+++ b/Build/source/libs/cairo/configure
@@ -5712,7 +5712,9 @@ esac
cairo_attribute_flag=
if test "x$GCC" = xyes; then
case `$CC -dumpversion` in #(
- 4.*) :
+ 4.[01].* ) :
+ ;; #(
+ 4.* | 5.*) :
cairo_attribute_flag=-Wno-attributes ;; #(
*) :
;;