summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
Diffstat (limited to 'hints')
-rw-r--r--hints/linux.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index bc7d49ad82..437e5c94c3 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -247,8 +247,8 @@ fi
#'osfmach3ppc') ccdlflags='-Wl,-E' ;;
#esac
-case "`uname -r`" in
-sparc-linux)
+case "`uname -m`" in
+sparc*)
case "$cccdlflags" in
*-fpic*) cccdlflags="`echo $cccdlflags|sed 's/-fpic/-fPIC/'`" ;;
*) cccdlflags="$cccdlflags -fPIC" ;;