Merge "configure: test for -Wshorten-64-to-32 in non hbd builds"

This commit is contained in:
James Zern 2016-09-30 03:01:55 +00:00 committed by Gerrit Code Review
commit 39ff0de810

5
configure vendored
View File

@ -586,6 +586,11 @@ 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
fi
if enabled icc; then