Commit 4b8f7a67 authored by James Zern's avatar James Zern Committed by Gerrit Code Review

Merge "configure: special case flag test for clang" into experimental

parents 3fa5b39d dfa2fb52
......@@ -601,7 +601,10 @@ process_toolchain() {
check_add_cflags -Wimplicit-function-declaration
check_add_cflags -Wuninitialized
check_add_cflags -Wunused-variable
check_add_cflags -Wunused-but-set-variable
case ${CC} in
*clang*) ;;
*) check_add_cflags -Wunused-but-set-variable ;;
esac
enabled extra_warnings || check_add_cflags -Wno-unused-function
fi
......
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