mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 04:33:09 +00:00
BUILD: Fix N64 build of test runner
This commit is contained in:
parent
a0e9556554
commit
5d22cc438f
1
configure
vendored
1
configure
vendored
@ -2603,6 +2603,7 @@ case $_host_os in
|
||||
append_var DEFINES "-DDISABLE_NES_APU"
|
||||
append_var DEFINES "-DDISABLE_SID"
|
||||
append_var DEFINES "-DREDUCE_MEMORY_USAGE"
|
||||
add_line_to_config_mk 'N64 = 1'
|
||||
;;
|
||||
ps2)
|
||||
append_var CXXFLAGS "-G2"
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user