summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild/make/configure.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 43f8e7792..7991fb3c4 100755
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -327,7 +327,7 @@ EOF
check_cflags() {
log check_cflags "$@"
- check_cc "$@" <<EOF
+ check_cc -Werror "$@" <<EOF
int x;
EOF
}
@@ -341,7 +341,7 @@ check_cxxflags() {
int x;
EOF
;;
- *) check_cxx "$@" <<EOF
+ *) check_cxx -Werror "$@" <<EOF
int x;
EOF
;;