From 2a97037fcc57415151b7f69585772d6e774c8f04 Mon Sep 17 00:00:00 2001
From: Bent Bisballe Nyeng <deva@aasimon.org>
Date: Fri, 15 Nov 2019 17:37:14 +0100
Subject: Create DEBUG_FLAGS and use that in the Makefiles whenever
 appropriate, instead of adding -Wall -Werror directly to CXXFLAGS.

---
 plugingui/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'plugingui')

diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am
index 0f3880a..1dc786e 100644
--- a/plugingui/Makefile.am
+++ b/plugingui/Makefile.am
@@ -37,6 +37,7 @@ resource_data.cc : rcgen $(RES)
 	./rcgen $(RES) > resource_data.cc
 
 libdggui_la_CPPFLAGS = \
+	$(DEBUG_FLAGS) \
 	$(GUI_CPPFLAGS) \
 	-I$(top_srcdir)/hugin \
 	-I$(top_srcdir)/src \
@@ -165,6 +166,7 @@ endif
 plugingui_LDADD = libdggui.la $(top_srcdir)/src/libdg.la
 
 plugingui_CXXFLAGS = \
+	$(DEBUG_FLAGS) \
 	$(GUI_CPPFLAGS) \
 	$(SNDFILE_CXXFLAGS) \
 	$(PTHREAD_CFLAGS) \
-- 
cgit v1.2.3