From 59b05693418e92d6b77c469d77d71344113c8dd7 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 24 Apr 2014 12:31:54 +0200 Subject: [PATCH] tests: pass automake CFLAGS when compiling tests2 --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 2a90f95e..6560e9cd 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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)