check: Use GST_CFLAGS when building tests

Ensures we have the proper define for using unstable API
This commit is contained in:
Edward Hervey 2011-08-05 12:27:18 +02:00
parent 5fa0c28bc4
commit 76b1dac41b

View file

@ -169,7 +169,7 @@ VALGRIND_TO_FIX = \
TESTS = $(check_PROGRAMS)
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \
$(GST_OPTION_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
$(GST_OPTION_CFLAGS) $(GST_CFLAGS) -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \
-UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)