Avoid unknown warning warnings and fix -Werror on macosx.
authorTom Finegan <tomfinegan@google.com>
Thu, 6 Mar 2014 22:54:49 +0000 (14:54 -0800)
committerTom Finegan <tomfinegan@google.com>
Thu, 6 Mar 2014 22:54:49 +0000 (14:54 -0800)
commit4c6c4a6756ca450bcbc27dd1de39b0f8ae18481b
tree146994e5df25680a99508b23bf8eea2a7b949f99
parentd1aeef94a510ffcef8411954697a9fd7e113572d
Avoid unknown warning warnings and fix -Werror on macosx.

clang on macosx does not support -Wunused-but-set-variable; adding the flag
causes additional warnings about the flag. As a more generalized fix, use
-Werror when checking compiler flag support in order to avoid using
unsupported warning flags.

Change-Id: I2529862e211f880d56491eac3b9fa90fff1aa5c3
build/make/configure.sh