summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-02-11 20:46:04 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-02-11 20:47:23 +0100
commitc074ca7b874725c0b2a8c0d4f90807af91d1e04a (patch)
tree50f0466ecdc709fd4c5f069ebe616b67f164d5f4
parentdf203ab874d0ba57244d4f40e9ca847c943c018f (diff)
Use -Wl,--no-undefined on all source files.
-rw-r--r--configure.ac2
-rw-r--r--vst/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ea0bc63..aeb4a66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,7 @@ AC_ARG_WITH([debug],
AS_IF([test "x$with_debug" == "xyes"],
[AC_MSG_WARN([*** Building with debug support!])
- CXXFLAGS="$CXXFLAGS -Wall -Werror -g"
+ CXXFLAGS="$CXXFLAGS -Wall -Werror -g -Wl,--no-undefined"
HUGIN_PARM=""]
)
diff --git a/vst/Makefile.am b/vst/Makefile.am
index d6c5c9e..78a4b0b 100644
--- a/vst/Makefile.am
+++ b/vst/Makefile.am
@@ -47,7 +47,7 @@ libdrumgizmo_vst_la_SOURCES = \
input_vst.cc \
output_vst.cc
-libdrumgizmo_vst_la_LDFLAGS = -no-undefined -shared
+libdrumgizmo_vst_la_LDFLAGS = -shared
libdrumgizmo_vst_la_LIBADD = libdg.la
libdrumgizmo_vst_la_CXXFLAGS = -w $(VST_CPPFLAGS) \
-I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_srcdir)/plugingui \ No newline at end of file