From eb387cb8e5146f6b88b5251736da23e4d2ffb844 Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Mon, 8 Apr 2013 12:25:27 -0500 Subject: [PATCH] Use -Wno-unused-value also on other clang compilers clang++ or clang-3.2, ... --- cflags.SH | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cflags.SH b/cflags.SH index 5363f99..b377ece 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" ;; -- 2.7.4