diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 5 |
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=$$ |