build: add DEFINES to test build

this picks up the _GNU_SOURCE in the tests.
macos/master
Dave Airlie 10 years ago
parent 27666d855f
commit 1c29fc4176
  1. 2
      tests/Makefile.am

@ -1,6 +1,6 @@
if BUILD_TESTS
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/gallium/include $(CHECK_CFLAGS) -I$(top_srcdir)/src/gallium/auxiliary
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/gallium/include $(CHECK_CFLAGS) -I$(top_srcdir)/src/gallium/auxiliary $(DEFINES)
TEST_LIBS = libvrtest.la $(top_builddir)/src/libvirglrenderer.la $(CHECK_LIBS)

Loading…
Cancel
Save