From 050761d4355d4e4f01b114aa1ed3167ce760a41f Mon Sep 17 00:00:00 2001 From: Romain B Date: Fri, 16 Jun 2017 15:05:45 +0200 Subject: [PATCH] Default debug to yes - Instead of full which abort builds due to deprecated declarations - Also remove the manual CFLAGS - Re enable enable-debug in distcheck - Better fix for bug #11556 --- Makefile.am | 3 +-- configure.ac.in | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 67cc14f..6c79c33 100644 --- a/Makefile.am +++ b/Makefile.am @@ -50,7 +50,6 @@ DISTCLEANFILES = \ DISTCHECK_CONFIGURE_FLAGS = \ --enable-gtk-doc \ --enable-gen-doc \ - --with-gio-module-dir=distcheck \ - --disable-debug + --with-gio-module-dir=distcheck # vi:set ts=8 sw=8 noet ai nocindent: diff --git a/configure.ac.in b/configure.ac.in index 52afc8e..343339b 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -21,7 +21,7 @@ m4_define([libexo_version], [libexo_version_major().libexo_version_minor().libex dnl ******************************************** dnl *** Full debug support for GIT snapshots *** dnl ******************************************** -m4_define([libexo_debug_default], [ifelse(libexo_version_tag(), [git], [full], [minimum])]) +m4_define([libexo_debug_default], [ifelse(libexo_version_tag(), [git], [yes], [minimum])]) dnl **************************** dnl *** For intltool support *** @@ -193,8 +193,6 @@ dnl *** Check for linker optimizations *** dnl ************************************** XDT_FEATURE_LINKER_OPTS() -CFLAGS="$CFLAGS -Wno-error" - dnl **************************************** dnl *** Check for ELF visibility support *** dnl **************************************** -- 2.13.1