Silence -Wunused-but-set-variable error with clang
[babeltrace.git] / src / plugins / ctf / Makefile.am
index 398b5267cc9b6106e0d171a33cb78e54fbc113a4..b5050b8d280595f99b083235134807bd6c0b4b5f 100644 (file)
@@ -9,11 +9,12 @@ plugindir = "$(BABELTRACE_PLUGINS_DIR)"
 plugin_LTLIBRARIES = babeltrace-plugin-ctf.la
 
 # ctf plugin
-babeltrace_plugin_ctf_la_SOURCES = plugin.c
+babeltrace_plugin_ctf_la_SOURCES = plugin.cpp
 
 babeltrace_plugin_ctf_la_LDFLAGS = \
+       $(AM_LDFLAGS) \
        $(LT_NO_UNDEFINED) \
-       -avoid-version -module
+       -avoid-version -module $(LD_NOTEXT)
 
 babeltrace_plugin_ctf_la_LIBADD = \
        common/libbabeltrace2-plugin-ctf-common.la \
This page took 0.025062 seconds and 4 git commands to generate.