diff options
author | dhewg | 2011-02-20 13:03:28 +0100 |
---|---|---|
committer | dhewg | 2011-02-20 13:09:36 +0100 |
commit | 2f312e9e1a5a577ebf167ba004ffea19a767c7de (patch) | |
tree | cf4a39fa70e568d3601f9f399d402ade702a62e9 | |
parent | 805acaa81e836761fc5dee8f94b5f09e7831ed99 (diff) | |
download | scummvm-rg350-2f312e9e1a5a577ebf167ba004ffea19a767c7de.tar.gz scummvm-rg350-2f312e9e1a5a577ebf167ba004ffea19a767c7de.tar.bz2 scummvm-rg350-2f312e9e1a5a577ebf167ba004ffea19a767c7de.zip |
DS: Disable symbol garbage collection
Only applies when using loadable modules.
This requires a second compile run or black voodoo linker tricks.
Not implemented at this time. Disable it, so we get DS build failure
reports from buildbot (which are useful with all the DISABLE_EVERYTHING
defines).
The resulting binary might be too big to be usable.
-rwxr-xr-x | backends/platform/ds/build-ds.sh | 4 | ||||
-rwxr-xr-x | configure | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/backends/platform/ds/build-ds.sh b/backends/platform/ds/build-ds.sh index d56af5a092..8e0b0575f4 100755 --- a/backends/platform/ds/build-ds.sh +++ b/backends/platform/ds/build-ds.sh @@ -1,4 +1,8 @@ #!/bin/sh + +echo "FIXME: feature disabled in configure" +exit 1 + # # build-ds.sh -- script for building a ds build with every usable dynamic engine plugin @@ -1552,7 +1552,9 @@ case $_host_os in if test "$_dynamic_modules" = no ; then LDFLAGS="$LDFLAGS -Wl,--gc-sections" else - LDFLAGS="$LDFLAGS -Wl,--retain-symbols-file,ds.syms" + LDFLAGS="$LDFLAGS -Wl,--no-gc-sections" + # TODO automate this required 2 step linking phase + # LDFLAGS="$LDFLAGS -Wl,--retain-symbols-file,ds.syms" fi LDFLAGS="$LDFLAGS -L$DEVKITPRO/libnds/lib" LIBS="$LIBS -lnds9" |