shithub: libvpx

Download patch

ref: dfa2fb5230deab0389d3346b00c9aee498ac97df
parent: 15879fb457880e7bae2e06dd6d8d7fd699be3ab7
author: James Zern <jzern@google.com>
date: Fri May 3 10:00:33 EDT 2013

configure: special case flag test for clang

(while still abusing the gcc targets)

Change-Id: I40f33f619ed1ee760caf23f5598587b30cf8a9ed

--- a/configure
+++ b/configure
@@ -601,7 +601,10 @@
         check_add_cflags -Wimplicit-function-declaration
         check_add_cflags -Wuninitialized
         check_add_cflags -Wunused-variable
-        check_add_cflags -Wunused-but-set-variable
+        case ${CC} in
+          *clang*) ;;
+          *) check_add_cflags -Wunused-but-set-variable ;;
+        esac
         enabled extra_warnings || check_add_cflags -Wno-unused-function
     fi