diff options
author | Colin Snover | 2017-01-15 13:31:45 -0600 |
---|---|---|
committer | Colin Snover | 2017-01-15 13:49:33 -0600 |
commit | 5d22cc438f4a8182c66a534efa92eae40dab508a (patch) | |
tree | f7a226aea2b28e253ce1e1edb79c0a02e5d59bd6 /test | |
parent | a0e9556554640a309b93f7649ce49b2b540cf4c9 (diff) | |
download | scummvm-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.mk | 4 |
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. |