summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-03-01 00:31:38 +0000
committerJens Arnold <amiconn@rockbox.org>2006-03-01 00:31:38 +0000
commitaf78719bb6b3fce086077610756783034e892915 (patch)
tree65c2199d0e39be829a4ecadd35b2eb47211fc591
parentb4ada860b3f9b5811de9b4bb1de78c042e7a349e (diff)
downloadrockbox-af78719bb6b3fce086077610756783034e892915.tar.gz
rockbox-af78719bb6b3fce086077610756783034e892915.zip
x86_64 needs -fPIC to make shared object link (plugins, codecs).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8872 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index f131ea8b7b..d008308a88 100755
--- a/tools/configure
+++ b/tools/configure
@@ -150,7 +150,10 @@ simcc () {
exit
;;
esac
-
+
+ if [ `uname -m` = "x86_64" ]; then
+ GCCOPTS="$GCCOPTS -fPIC" # needed to make shared objects link
+ fi
if test "X$crosscompile" != "Xyes"; then
id=$$