From 2a97037fcc57415151b7f69585772d6e774c8f04 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng 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. --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 21c7194..aad6cbf 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,7 +3,7 @@ noinst_LTLIBRARIES = libdg.la libzr.la libpugi.la # libzita-resampler libzr_la_CPPFLAGS = \ - -ffast-math -D_USE_MATH_DEFINES -Wno-unused-private-field $(PTHREAD_CFLAGS) \ + -ffast-math -D_USE_MATH_DEFINES $(PTHREAD_CFLAGS) \ -I$(top_srcdir)/zita-resampler/libs libzr_la_LIBADD = \ @@ -23,6 +23,7 @@ libpugi_la_SOURCES = \ # libdg libdg_la_CPPFLAGS = \ + $(DEBUG_FLAGS) \ -I$(top_srcdir)/hugin -I$(top_srcdir)/pugixml/src \ $(SSEFLAGS) -I$(top_srcdir)/zita-resampler/libs $(SNDFILE_CFLAGS) $(PTHREAD_CFLAGS) -- cgit v1.2.3