diff --git a/build/make/configure.sh b/build/make/configure.sh index 449d1b9f8ebe06f73c5c1e0255bd30b6effb6ae7..b84b4183015ca35a0207e9f7bdde68218d2330f8 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 ;;