diff options
author | Guido Günther <agx@sigxcpu.org> | 2019-03-25 19:42:51 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2019-03-25 19:44:00 +0100 |
commit | 2f6492a036c012728a6080b5f410e466cc6d48bb (patch) | |
tree | ab3711733c60481f0cc66ceaa5a41a7273e00de8 | |
parent | 08f93e930e6f0046d3617a47f629e681f3511825 (diff) |
build: Don't enable -Werror in git checkouts
Disable this until we cleaned up build warnings with recent glib.
-rw-r--r-- | m4/lpf-compile-warnings.m4 | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/m4/lpf-compile-warnings.m4 b/m4/lpf-compile-warnings.m4 index 626d380..4eb4c23 100644 --- a/m4/lpf-compile-warnings.m4 +++ b/m4/lpf-compile-warnings.m4 @@ -12,12 +12,7 @@ AC_DEFUN([LIBPLANFAHR_COMPILE_WARNINGS],[ AC_ARG_ENABLE([werror], AS_HELP_STRING([--enable-werror], [Use -Werror (if supported)]), [set_werror="$enableval"], - [if test -d $srcdir/.git; then - is_git_version=true - set_werror=yes - else - set_werror=no - fi]) + [set_werror=no]) # List of warnings that are not relevant / wanted |