aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorColin Snover2017-01-15 13:31:45 -0600
committerColin Snover2017-01-15 13:49:33 -0600
commit5d22cc438f4a8182c66a534efa92eae40dab508a (patch)
treef7a226aea2b28e253ce1e1edb79c0a02e5d59bd6 /test
parenta0e9556554640a309b93f7649ce49b2b540cf4c9 (diff)
downloadscummvm-rg350-5d22cc438f4a8182c66a534efa92eae40dab508a.tar.gz
scummvm-rg350-5d22cc438f4a8182c66a534efa92eae40dab508a.tar.bz2
scummvm-rg350-5d22cc438f4a8182c66a534efa92eae40dab508a.zip
BUILD: Fix N64 build of test runner
Diffstat (limited to 'test')
-rw-r--r--test/module.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/module.mk b/test/module.mk
index c09849f1c6..de2f94d8c6 100644
--- a/test/module.mk
+++ b/test/module.mk
@@ -19,6 +19,10 @@ TEST_CFLAGS := $(CFLAGS) -I$(srcdir)/test/cxxtest
TEST_LDFLAGS := $(LDFLAGS) $(LIBS)
TEST_CXXFLAGS := $(filter-out -Wglobal-constructors,$(CXXFLAGS))
+ifdef N64
+TEST_LDFLAGS := $(filter-out -mno-crt0,$(TEST_LDFLAGS))
+endif
+
ifdef HAVE_GCC3
# In test/common/str.h, we test a zero length format string. This causes GCC
# to generate a warning which in turn poses a problem when building with -Werror.