From af78719bb6b3fce086077610756783034e892915 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 1 Mar 2006 00:31:38 +0000 Subject: 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 --- tools/configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/configure') 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=$$ -- cgit v1.2.3