]> granicus.if.org Git - libvpx/commitdiff
configure: enable -Wshorten-64-to-32 for hbd
authorJames Zern <jzern@google.com>
Wed, 5 Apr 2017 04:08:51 +0000 (21:08 -0700)
committerJames Zern <jzern@google.com>
Thu, 6 Apr 2017 00:34:06 +0000 (17:34 -0700)
Change-Id: I4041f3fc4aabc7a2251c44c75a477b659284c3cf

configure

index d2bfab72b9deadcba21df298e46cad385e712ca1..8f4ceb047a47b8c6b33c436f66fd13672899fef6 100755 (executable)
--- a/configure
+++ b/configure
@@ -594,11 +594,9 @@ process_toolchain() {
         if enabled mips || [ -z "${INLINE}" ]; then
           enabled extra_warnings || check_add_cflags -Wno-unused-function
         fi
-        if ! enabled vp9_highbitdepth; then
-          # Avoid this warning for third_party C++ sources. Some reorganization
-          # would be needed to apply this only to test/*.cc.
-          check_cflags -Wshorten-64-to-32 && add_cflags_only -Wshorten-64-to-32
-        fi
+        # Avoid this warning for third_party C++ sources. Some reorganization
+        # would be needed to apply this only to test/*.cc.
+        check_cflags -Wshorten-64-to-32 && add_cflags_only -Wshorten-64-to-32
     fi
 
     if enabled icc; then