Skip to content

Commit

Permalink
DS: Disable symbol garbage collection
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dhewg committed Feb 20, 2011
1 parent 805acaa commit 2f312e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions 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

Expand Down
4 changes: 3 additions & 1 deletion configure
Expand Up @@ -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"
Expand Down

0 comments on commit 2f312e9

Please sign in to comment.