summaryrefslogtreecommitdiff
path: root/plugin
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 /plugin
parentb5e8791cabec99138773e4dc13f8c6bb6f2701fc (diff)
Create DEBUG_FLAGS and use that in the Makefiles whenever appropriate, instead of adding -Wall -Werror directly to CXXFLAGS.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin/Makefile.am b/plugin/Makefile.am
index 3259751..078f38a 100644
--- a/plugin/Makefile.am
+++ b/plugin/Makefile.am
@@ -13,6 +13,7 @@ lv2plugin_DATA = manifest.ttl
endif
drumgizmo_la_CXXFLAGS = -DLV2 -DLV2_PLUGIN_URI=\"http://drumgizmo.org/lv2\" \
+ $(DEBUG_FLAGS) \
-fvisibility=hidden \
-I$(top_srcdir)/zita-resampler/libs \
$(LV2_CFLAGS) \
@@ -37,7 +38,9 @@ drumgizmo_la_LIBADD = $(LV2_LIBS) \
$(top_srcdir)/plugingui/libdggui.la \
$(top_srcdir)/src/libdg.la
-ttlgen_CPPFLAGS = $(DL_CFLAGS) -I$(top_srcdir)/plugin/plugingizmo
+ttlgen_CPPFLAGS = \
+ $(DEBUG_FLAGS) \
+ $(DL_CFLAGS) -I$(top_srcdir)/plugin/plugingizmo
ttlgen_LDFLAGS = $(DL_LIBS)
ttlgen_SOURCES = \
$(top_srcdir)/plugin/plugingizmo/ttlgen.cc
@@ -80,6 +83,7 @@ vstplugin_DATA =
endif
drumgizmo_vst_la_CXXFLAGS = -DVST \
+ $(DEBUG_FLAGS) \
-fvisibility=hidden \
-I$(top_srcdir)/zita-resampler/libs \
$(SNDFILE_CFLAGS) \