Commit 771d276b authored by James Zern's avatar James Zern
Browse files

configure: enable -Wunused-function by default

when INLINE is defined and mips is not being targeted. otherwise keep
the old --enable-extra-warnings behavior

Change-Id: Iba576edbe5fca03efa56ce99eee11f9cafc573ad
parent f74e04cc
......@@ -600,7 +600,11 @@ process_toolchain() {
*) check_add_cflags -Wunused-but-set-variable ;;
enabled extra_warnings || check_add_cflags -Wno-unused-function
if enabled mips || [ -z "${INLINE}" ]; then
enabled extra_warnings || check_add_cflags -Wno-unused-function
check_add_cflags -Wunused-function
if enabled icc; then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment