summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-25 01:13:09 +0200
committerHarald Welte <laforge@gnumonks.org>2017-10-28 16:49:33 +0000
commitcd7fa4502cc2e003ae1d6520f7a49fdaef490a3c (patch)
tree6df7869e0518112c813caa73a94a3367168e135b /tests
parent99a14c8ca1d1675bb7220376d6438d3d73c20fd6 (diff)
db_test: fix *FLAGS
The -I includes should be in CFLAGS, not CPPFLAGS. I noticed problems with it when trying to add an -I$(builddir) in an upcoming patch that adds a BUILT_SOURCE, If77dbbfe1af3e66aaec91cb6295b687f37678636. Change-Id: Ie57a04b7efc7a1e16cf0e3625d8ad2f0ef0089b0
Diffstat (limited to 'tests')
-rw-r--r--tests/db/Makefile.am8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/db/Makefile.am b/tests/db/Makefile.am
index a1f35a7..b706bec 100644
--- a/tests/db/Makefile.am
+++ b/tests/db/Makefile.am
@@ -1,9 +1,6 @@
-AM_CPPFLAGS = \
+AM_CFLAGS = \
$(all_includes) \
-I$(top_srcdir)/src \
- $(NULL)
-
-AM_CFLAGS = \
-Wall \
-ggdb3 \
$(LIBOSMOCORE_CFLAGS) \
@@ -11,9 +8,6 @@ AM_CFLAGS = \
$(SQLITE3_CFLAGS) \
$(NULL)
-AM_LDFLAGS = \
- $(NULL)
-
EXTRA_DIST = \
db_test.ok \
db_test.err \