mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 21:46:22 +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
e5ceb287d3
commit
410b0e3842
2 changed files with 8 additions and 4 deletions
|
@ -98,6 +98,9 @@ dnl check for libm, for sin()
|
|||
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
|
||||
|
|
|
@ -33,7 +33,8 @@ TESTS = $(check_PROGRAMS)
|
|||
noinst_PROGRAMS =
|
||||
|
||||
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \
|
||||
$(GST_OPTION_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\""
|
||||
$(GST_OPTION_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
|
||||
$(PTHREAD_CFLAGS)
|
||||
|
||||
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue