summaryrefslogtreecommitdiff
path: root/src/libdts/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdts/Makefile.am')
-rw-r--r--src/libdts/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libdts/Makefile.am b/src/libdts/Makefile.am
index cb919c93a..c2d86e073 100644
--- a/src/libdts/Makefile.am
+++ b/src/libdts/Makefile.am
@@ -9,20 +9,21 @@ endif
lib_LTLIBRARIES = $(dts_module)
if EXTERNAL_LIBDTS
+fnsa =
internal_sources =
else
+fnsa = -fno-strict-aliasing
internal_sources = bitstream.c downmix.c parse.c
endif
xineplug_decode_dts_la_SOURCES = xine_decoder.c $(internal_sources)
-xineplug_decode_dts_la_LDFLAGS = -avoid-version -module $(XINE_PLUGIN_MIN_SYMS)
+xineplug_decode_dts_la_CFLAGS = $(LIBDTS_CFLAGS) $(VISIBILITY_FLAG) $(fnsa)
+xineplug_decode_dts_la_LDFLAGS = -avoid-version -module
if EXTERNAL_LIBDTS
xineplug_decode_dts_la_LIBADD = $(XINE_LIB) $(LIBDTS_LIBS)
-xineplug_decode_dts_la_CFLAGS = $(LIBDTS_CFLAGS)
else
xineplug_decode_dts_la_LIBADD = $(XINE_LIB)
-xineplug_decode_dts_la_CFLAGS = -fno-strict-aliasing
endif
noinst_HEADERS = bitstream.h dts.h dts_internal.h tables.h tables_adpcm.h \