summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index c8bc3a864..27eb98243 100644
--- a/configure.in
+++ b/configure.in
@@ -456,6 +456,8 @@ AC_PATH_PROG(AR, ar)
AC_LANG([C])
+# use -Wcast-qual for check wrong casts. It cant be added by default, because some casts must be wrong.
+
CFLAGS="$CFLAGS -pipe -ffast-math -Wall -Wextra -Wno-sign-compare"
CPPFLAGS="$CPPFLAGS -I../common"
LDFLAGS="$LDFLAGS"