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

This commit is contained in:
James Zern 2016-02-05 02:45:56 +00:00 committed by Gerrit Code Review
commit 693dcc86cf

6
configure vendored
View File

@ -600,7 +600,11 @@ process_toolchain() {
;;
*) 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