aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-06-01 14:43:25 +0200
committerYang Tse <yangsita@gmail.com>2011-06-01 14:43:25 +0200
commit685359d4c3881acdb4f11285bd77d56a867e09c9 (patch)
tree01e6d867033964ed566b5d14a546381588a95ebe /tests/unit
parenta689072f33ae5a3a59586fb419b2e3d6a74f5482 (diff)
makefile: avoid preprocessor definition usage when linking
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am
index cdd32a5e1..c77a516d5 100644
--- a/tests/unit/Makefile.am
+++ b/tests/unit/Makefile.am
@@ -58,7 +58,7 @@ EXTRA_DIST = Makefile.inc
LDADD = $(top_builddir)/lib/libcurlu.la @CURL_LIBS@
DEPENDENCIES = $(top_builddir)/lib/libcurlu.la
-CFLAGS += -DUNITTESTS
+AM_CPPFLAGS = -DUNITTESTS
# Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES,
# noinst_PROGRAMS, lib*_SOURCES, and lib*_CFLAGS)