From ee3b23efc033db8baf650a3152a9fe2beb47dfd3 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Thu, 25 Aug 2016 12:45:33 +0200 Subject: [PATCH] build: fix gst-uninstalled build in osx Fixes clang: error: argument unused during compilation: '-pthread' when building the test programs. --- tests/check/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index cb4cdc5..ab8c787 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -309,7 +309,7 @@ TESTS = $(check_PROGRAMS) AM_CFLAGS = $(GST_CFLAGS) $(GST_CHECK_CFLAGS) $(GST_OPTION_CFLAGS) \ -DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \ -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \ - -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS + -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS $(PTHREAD_CFLAGS) LDADD = $(GST_CHECK_LIBS) generic_states_CFLAGS = $(AM_CFLAGS) $(GMODULE_NO_EXPORT_CFLAGS) @@ -362,7 +362,8 @@ libs_mpegvideoparser_LDADD = \ libs_mpegts_CFLAGS = \ $(GST_PLUGINS_BAD_CFLAGS) \ -DGST_USE_UNSTABLE_API \ - $(GST_CFLAGS) + $(GST_CFLAGS) \ + $(PTHREAD_CFLAGS) libs_mpegts_LDADD = \ $(top_builddir)/gst-libs/gst/mpegts/libgstmpegts-@GST_API_VERSION@.la \ @@ -480,6 +481,8 @@ elements_dash_demux_LDADD = \ elements_dash_demux_SOURCES = elements/test_http_src.c elements/test_http_src.h elements/adaptive_demux_engine.c elements/adaptive_demux_engine.h elements/adaptive_demux_common.c elements/adaptive_demux_common.h elements/dash_demux.c +elements_neonhttpsrc_CFLAGS = $(AM_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) + elements_mssdemux_CFLAGS = $(AM_CFLAGS) $(LIBXML2_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_PLUGINS_BAD_CFLAGS) elements_mssdemux_LDADD = \ $(LDADD) $(LIBXML2_LIBS) $(GST_BASE_LIBS) \ -- 2.7.4