diff options
author | Pavel Roskin <plroskin@gmail.com> | 2017-03-15 00:01:29 +0300 |
---|---|---|
committer | jsorg71 <jay.sorg@gmail.com> | 2017-03-17 10:07:51 +0300 |
commit | 1c5022d1ffa547466c75cbcff1b86f2e27435296 (patch) | |
tree | 8f6aa86168ea5de09dedebc1054eb098249a6888 /configure.ac | |
parent | fbba97a7a9fe72f663af0cd22fae7a83e3c47783 (diff) |
Pass -Wall and -Wwrite-strings option to the compiler if supported
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8ff62c6..bc98e40 100644 --- a/configure.ac +++ b/configure.ac @@ -11,6 +11,9 @@ AC_C_CONST AC_PROG_LIBTOOL PKG_INSTALLDIR +AX_CFLAGS_WARN_ALL +AX_APPEND_COMPILE_FLAGS([-Wwrite-strings]) + # SIMD is optional AC_ARG_WITH([simd], AC_HELP_STRING([--without-simd],[Omit SIMD extensions.])) |