From 2f6492a036c012728a6080b5f410e466cc6d48bb Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 25 Mar 2019 19:42:51 +0100 Subject: build: Don't enable -Werror in git checkouts Disable this until we cleaned up build warnings with recent glib. --- m4/lpf-compile-warnings.m4 | 7 +------ 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3