ref: 2e3ed02c6d548eb6e022f9ac8b77ab5bbfaab4a2
parent: be3eea9bc73d5342a7f493b68948f13f053a6f16
parent: 4c6c4a6756ca450bcbc27dd1de39b0f8ae18481b
author: James Zern <[email protected]>
date: Thu Mar 6 15:28:01 EST 2014
Merge "Avoid unknown warning warnings and fix -Werror on macosx."
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -327,7 +327,7 @@
check_cflags() {
log check_cflags "$@"
- check_cc "$@" <<EOF
+ check_cc -Werror "$@" <<EOF
int x;
EOF
}
@@ -341,7 +341,7 @@
int x;
EOF
;;
- *) check_cxx "$@" <<EOF
+ *) check_cxx -Werror "$@" <<EOF
int x;
EOF
;;