Use -Wno-unused-value also on other clang compilers
authorReini Urban <rurban@x-ray.at>
Mon, 8 Apr 2013 17:25:27 +0000 (12:25 -0500)
committerTony Cook <tony@develop-help.com>
Thu, 27 Jun 2013 01:45:05 +0000 (11:45 +1000)
clang++ or clang-3.2, ...

cflags.SH

index 5363f99..b377ece 100755 (executable)
--- 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"
       ;;