summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorReini Urban <rurban@x-ray.at>2013-04-08 12:25:27 -0500
committerTony Cook <tony@develop-help.com>2013-06-27 11:45:05 +1000
commiteb387cb8e5146f6b88b5251736da23e4d2ffb844 (patch)
tree975d181ae19aa53354f9f8e1ae1c54a898063c8d /cflags.SH
parent9700e2d38d91e6678fcdf9d5c39ddd5ec7ad6867 (diff)
downloadperl-eb387cb8e5146f6b88b5251736da23e4d2ffb844.tar.gz
Use -Wno-unused-value also on other clang compilers
clang++ or clang-3.2, ...
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH2
1 files changed, 1 insertions, 1 deletions
diff --git a/cflags.SH b/cflags.SH
index 5363f992a5..b377ece5a5 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -306,7 +306,7 @@ for file do
cppflags=`echo $cppflags|sed 's/-Wdeclaration-after-statement/ /'`
case "$cc" in
- *clang)
+ *clang*)
# clang complains a lot about -Wunused-value which are not fixable
warn="$warn -Wno-unused-value"
;;