summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-11-15 17:37:14 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-11-15 17:37:14 +0100
commit2a97037fcc57415151b7f69585772d6e774c8f04 (patch)
treeafc72f7a7be506e204a445b507cc29dce4ea7519 /src/Makefile.am
parentb5e8791cabec99138773e4dc13f8c6bb6f2701fc (diff)
Create DEBUG_FLAGS and use that in the Makefiles whenever appropriate, instead of adding -Wall -Werror directly to CXXFLAGS.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am3
1 files changed, 2 insertions, 1 deletions
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)