diff options
author | Yotam Barnoy | 2010-09-20 14:10:44 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-09-20 14:10:44 +0000 |
commit | f7f743ac31d0ec5af6d21aa217dae7387498af42 (patch) | |
tree | 3a16e7a42185cb21acaafc6ce9a27513bbd54b37 /configure | |
parent | 05f0ebf2620969277ff94ce486e13b19eb46c1c9 (diff) | |
download | scummvm-rg350-f7f743ac31d0ec5af6d21aa217dae7387498af42.tar.gz scummvm-rg350-f7f743ac31d0ec5af6d21aa217dae7387498af42.tar.bz2 scummvm-rg350-f7f743ac31d0ec5af6d21aa217dae7387498af42.zip |
PSP: switch from wrapping memcpy to defining our own memcpy
The advantage is that we get to do inlining and even use lwl and lwr instructions where appropriate. We have to do it ourselves because the PSP doesn't tolerate built-in instructions, but also we have a more efficient memcpy than the lib's.
svn-id: r52817
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2098,7 +2098,7 @@ PLUGIN_SUFFIX := .plg PLUGIN_EXTRA_DEPS = $(EXECUTABLE) CXXFLAGS += -DDYNAMIC_MODULES LDFLAGS += -Wl,-T$(srcdir)/backends/platform/psp/main_prog.ld -PLUGIN_LDFLAGS = -nostartfiles -Wl,-q,--just-symbols,$(EXECUTABLE),--retain-symbols-file,$(srcdir)/backends/platform/psp/plugin.syms,-T$(srcdir)/backends/platform/psp/plugin.ld -lstdc++ -lc -lm -Wl,--wrap,memcpy +PLUGIN_LDFLAGS = -nostartfiles -Wl,-q,--just-symbols,$(EXECUTABLE),--retain-symbols-file,$(srcdir)/backends/platform/psp/plugin.syms,-T$(srcdir)/backends/platform/psp/plugin.ld -lstdc++ -lc -lm PRE_OBJS_FLAGS := -Wl,--whole-archive POST_OBJS_FLAGS := -Wl,--no-whole-archive ' @@ -2665,7 +2665,6 @@ case $_backend in psp) DEFINES="$DEFINES -D__PSP__ -DDISABLE_TEXT_CONSOLE -DDISABLE_COMMAND_LINE -DDISABLE_DOSBOX_OPL" LIBS="$LIBS -lpng -Wl,-Map,mapfile.txt" - LDFLAGS="$LDFLAGS -Wl,--wrap,memcpy" ;; samsungtv) find_sdlconfig |