mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
build: silence error about pthread for 'make check' in osx
Fixes "clang: error: argument unused during compilation: '-pthread'"
This commit is contained in:
parent
de3d0c4522
commit
e9cab27226
2 changed files with 4 additions and 1 deletions
|
@ -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 ***
|
||||
|
|
|
@ -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\"" \
|
||||
|
|
Loading…
Reference in a new issue