build: silence error about pthread for 'make check' in osx

Fixes "clang: error: argument unused during compilation: '-pthread'"
This commit is contained in:
Josep Torra 2016-08-26 21:56:13 +02:00
parent de3d0c4522
commit e9cab27226
2 changed files with 4 additions and 1 deletions

View file

@ -137,6 +137,9 @@ GTK_DOC_CHECK([1.12])
dnl *** checks for libraries ***
dnl check for pthreads
AX_PTHREAD
dnl *** checks for header files ***
dnl *** checks for types/defines ***

View file

@ -50,7 +50,7 @@ AM_CFLAGS = -I$(top_srcdir)/gst/rtsp-server \
$(GST_CHECK_CFLAGS) \
-DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
-DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \
-UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
-UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS $(PTHREAD_CFLAGS)
AM_CXXFLAGS = $(GST_CXXFLAGS) $(GST_CHECK_CFLAGS) \
-DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
-DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \