tests: pass automake CFLAGS when compiling tests2

This commit is contained in:
Benjamin Dauvergne 2014-04-24 12:31:54 +02:00
parent 6d854cef42
commit 59b0569341
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ tests2_LDADD = \
$(LASSO_LIBS) \
$(CHECK_LIBS)
tests2_LDFLAGS = -rpath `cd $(top_builddir)/lasso/.libs/; pwd`
tests2_CFLAGS = -DSRCDIR=\"$(srcdir)\"
tests2_CFLAGS = $(AM_CFLAGS) -DSRCDIR=\"$(srcdir)\"
perfs_SOURCES = perfs.c
perfs_LDADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS)