summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/Makefile.am4
-rw-r--r--plugin/vst/Makefile.am5
2 files changed, 5 insertions, 4 deletions
diff --git a/plugin/Makefile.am b/plugin/Makefile.am
index 6c0d324..95db9b7 100644
--- a/plugin/Makefile.am
+++ b/plugin/Makefile.am
@@ -30,7 +30,7 @@ drumgizmo_la_SOURCES = \
drumgizmo_plugin.cc
drumgizmo_la_LDFLAGS = -shared -module -avoid-version \
- -export-symbols drumgizmo_lv2.sym
+ -no-undefined -export-symbols drumgizmo_lv2.sym
drumgizmo_la_LIBADD = $(LV2_LIBS) \
$(top_srcdir)/plugingui/libdggui.la \
@@ -96,7 +96,7 @@ drumgizmo_vst_la_SOURCES = \
drumgizmo_plugin.cc
drumgizmo_vst_la_LDFLAGS = -shared -module -avoid-version \
- -export-symbols drumgizmo_vst.sym
+ -no-undefined -export-symbols drumgizmo_vst.sym
drumgizmo_vst_la_LIBADD = vst/libvstsdk.la \
$(top_srcdir)/plugingui/libdggui.la \
diff --git a/plugin/vst/Makefile.am b/plugin/vst/Makefile.am
index 0f3df84..be45282 100644
--- a/plugin/vst/Makefile.am
+++ b/plugin/vst/Makefile.am
@@ -40,7 +40,8 @@ public.sdk/source/vst2.x/vstplugmain.cpp: public.sdk/source/vst2.x @VST_SOURCE_P
cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/vstplugmain.cpp $@
# Hack to compile vst sources without -Wall -Werror
-libvstsdk_la_CXXFLAGS = -w $(VST_CPPFLAGS) -Ipublic.sdk/source/vst2.x -I.
+libvstsdk_la_CXXFLAGS = -Wno-c++11-narrowing -w $(VST_CPPFLAGS) \
+ -Ipublic.sdk/source/vst2.x -I.
nodist_libvstsdk_la_SOURCES = \
public.sdk/source/vst2.x/audioeffectx.cpp \
@@ -60,4 +61,4 @@ CLEANFILES = \
clean-local:
-rm -rf public.sdk pluginterfaces
-#pluginterfaces/vst2.x/vstfxstore.h \ No newline at end of file
+#pluginterfaces/vst2.x/vstfxstore.h