Commit 6f00470c authored by Kalev Lember's avatar Kalev Lember

build: Don't inhibit compiler warnings

We were passing -w to the compiler which inhibits any and all warnings.

https://bugs.freedesktop.org/show_bug.cgi?id=68531
parent 716bb9f0
...@@ -100,8 +100,7 @@ dnl Strict compiler ...@@ -100,8 +100,7 @@ dnl Strict compiler
AC_ARG_ENABLE([strict-cc], AC_ARG_ENABLE([strict-cc],
AS_HELP_STRING([--enable-strict-cc],[Enable strict C compiler])) AS_HELP_STRING([--enable-strict-cc],[Enable strict C compiler]))
AS_IF([test "x$enable_strict_cc" = "xyes"], [CFLAGS="$CFLAGS -Wall -Werror"], AS_IF([test "x$enable_strict_cc" = "xyes"], [CFLAGS="$CFLAGS -Wall -Werror"])
[CFLAGS="$CFLAGS -w"])
dnl Debugging dnl Debugging
AC_ARG_ENABLE(debug, AC_ARG_ENABLE(debug,
......
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