summaryrefslogtreecommitdiff
path: root/tools/configure
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 /tools/configure
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
Diffstat (limited to 'tools/configure')
-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 () {
150 exit 150 exit
151 ;; 151 ;;
152 esac 152 esac
153 153
154 if [ `uname -m` = "x86_64" ]; then
155 GCCOPTS="$GCCOPTS -fPIC" # needed to make shared objects link
156 fi
154 157
155 if test "X$crosscompile" != "Xyes"; then 158 if test "X$crosscompile" != "Xyes"; then
156 id=$$ 159 id=$$