shithub: libvpx

Download patch

ref: 693dcc86cf5eb2004b8893d4eb3efb2c348b123d
parent: ecd32d6faabb34a3df1ef479fb802d589a0b0c6b
parent: 771d276b2787491dcae4164d1497e5ae14d50dfc
author: James Zern <jzern@google.com>
date: Thu Feb 4 21:45:56 EST 2016

Merge "configure: enable -Wunused-function by default"

--- a/configure
+++ b/configure
@@ -600,7 +600,11 @@
           ;;
           *) check_add_cflags -Wunused-but-set-variable ;;
         esac
-        enabled extra_warnings || check_add_cflags -Wno-unused-function
+        if enabled mips || [ -z "${INLINE}" ]; then
+          enabled extra_warnings || check_add_cflags -Wno-unused-function
+        else
+          check_add_cflags -Wunused-function
+        fi
     fi
 
     if enabled icc; then