From 5db9cb19a2b33c89255b8d483f42d5fc647df2c9 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 15 Mar 2021 01:20:02 +0100 Subject: [PATCH] Drop -Werror and unwanted CPPFLAGS --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index bf6b07f..181eed7 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.63]) AC_INIT([libfm], [1.3.2], [http://pcmanfm.sourceforge.net/]) -AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects no-dist-gzip dist-xz -Wno-portability]) +AM_INIT_AUTOMAKE([-Wall foreign subdir-objects no-dist-gzip dist-xz -Wno-portability]) AC_CONFIG_MACRO_DIR(m4) AC_CONFIG_HEADERS([config.h]) @@ -277,7 +277,7 @@ AC_ARG_ENABLE(debug, ) if test "$enable_debug" = "yes"; then # turn on debug and disable optimization - CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG -O0 -g" + CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" case "$CC" in gcc*) CPPFLAGS="$CPPFLAGS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers" -- 2.30.2