Commit 693dcc86 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

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

parents ecd32d6f 771d276b
...@@ -600,7 +600,11 @@ process_toolchain() { ...@@ -600,7 +600,11 @@ process_toolchain() {
;; ;;
*) check_add_cflags -Wunused-but-set-variable ;; *) check_add_cflags -Wunused-but-set-variable ;;
esac 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 fi
if enabled icc; then if enabled icc; then
......
Markdown is supported
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