mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +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
45eee84140
commit
f70aa5b033
2 changed files with 5 additions and 2 deletions
|
@ -167,6 +167,9 @@ dnl libm, for sin() etc.
|
|||
LT_LIB_M
|
||||
AC_SUBST(LIBM)
|
||||
|
||||
dnl check for pthreads
|
||||
AX_PTHREAD
|
||||
|
||||
dnl *** checks for header files ***
|
||||
|
||||
dnl check if we have ANSI C header files
|
||||
|
|
|
@ -270,12 +270,12 @@ AM_CFLAGS = -I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
|
|||
$(GST_CFLAGS) $(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 = -I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
|
||||
$(GST_CXXFLAGS) $(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)
|
||||
LDADD = $(GST_LIBS) $(GST_CHECK_LIBS)
|
||||
|
||||
# valgrind testing
|
||||
|
|
Loading…
Reference in a new issue