summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-09-27 18:11:09 +0000
committerNils Wallménius <nils@rockbox.org>2007-09-27 18:11:09 +0000
commit5ec5f8abacf56b082480f8a33fa937c16d496011 (patch)
treed819364aa1405d311dc7d3fbb4260d76f4f8e57e
parent5321711dd9d948f7d47d77c6c7d2c980d65f566f (diff)
FreeBSD uname -m outputs a different string than linux uname -m
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14871 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index a7375fec3c..f5219f7a44 100755
--- a/tools/configure
+++ b/tools/configure
@@ -133,7 +133,7 @@ simcc () {
;;
esac
- if [ "`uname -m`" = "x86_64" ]; then
+ if [ "`uname -m`" = "x86_64" ] || [ "`uname -m`" = "amd64" ]; then
GCCOPTS="$GCCOPTS -fPIC" # needed to make shared objects link
fi