aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/module.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/module.mk b/test/module.mk
index 04e7deeacd..9ab1a8b60f 100644
--- a/test/module.mk
+++ b/test/module.mk
@@ -15,8 +15,8 @@ endif
#
TEST_FLAGS := --runner=StdioPrinter --no-std --no-eh --include=$(srcdir)/test/cxxtest_mingw.h
-TEST_CFLAGS := -I$(srcdir)/test/cxxtest
-TEST_LDFLAGS := $(LIBS)
+TEST_CFLAGS := $(CFLAGS) -I$(srcdir)/test/cxxtest
+TEST_LDFLAGS := $(LIBS) $(LDFLAGS)
TEST_CXXFLAGS := $(filter-out -Wglobal-constructors,$(CXXFLAGS))
ifdef HAVE_GCC3