summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-10-02 09:08:08 +0000
committerNils Wallménius <nils@rockbox.org>2007-10-02 09:08:08 +0000
commit605949d48239551f721f5e8110d5f1001a2b2623 (patch)
treeb809945dea13749f8d1881ba50611f6dbfed71d8 /tools
parent6d0ee558e86beece998bfa032c06b091cf723355 (diff)
downloadrockbox-605949d48239551f721f5e8110d5f1001a2b2623.zip
rockbox-605949d48239551f721f5e8110d5f1001a2b2623.tar.gz
rockbox-605949d48239551f721f5e8110d5f1001a2b2623.tar.bz2
rockbox-605949d48239551f721f5e8110d5f1001a2b2623.tar.xz
Hide symbols by default on 64 bit sim buildsto avoid clashing, fixes crashing on track change with the same codec, crashing in calculator and text display in midiplay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14953 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index ec0fa02..5311c64 100755
--- a/tools/configure
+++ b/tools/configure
@@ -134,7 +134,10 @@ simcc () {
esac
if [ "`uname -m`" = "x86_64" ] || [ "`uname -m`" = "amd64" ]; then
- GCCOPTS="$GCCOPTS -fPIC" # needed to make shared objects link
+ # fPIC is needed to make shared objects link
+ # setting visibility to hidden is necessary to avoid strange crashes
+ # due to symbol clashing
+ GCCOPTS="$GCCOPTS -fPIC -fvisibility=hidden"
fi
GCCOPTS="$GCCOPTS -I\$(SIMDIR)"