summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstwo@users.sourceforge.net <stwo>2015-10-09 13:30:49 (GMT)
committerstwo@users.sourceforge.net <stwo>2015-10-09 13:30:49 (GMT)
commitb9b1c0d35553894ea0ff859a76f7c8ade704cb6f (patch)
tree3cfc6d3e55456d927e5bf2adc1a49d7992c88888
parent4dc16348fdba4c3291511553fecdcf7ec0ab511c (diff)
downloadtcl-b9b1c0d35553894ea0ff859a76f7c8ade704cb6f.zip
tcl-b9b1c0d35553894ea0ff859a76f7c8ade704cb6f.tar.gz
tcl-b9b1c0d35553894ea0ff859a76f7c8ade704cb6f.tar.bz2
Tcl/OpenBSD/Sparc needs -fPIC.
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index 1899aa3..bbac11d 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7579,7 +7579,7 @@ fi
;;
*)
case "$arch" in
- alpha|sparc64)
+ alpha|sparc|sparc64)
SHLIB_CFLAGS="-fPIC"
;;
*)
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 3db997a..d7d6a7b 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1542,7 +1542,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
;;
*)
case "$arch" in
- alpha|sparc64)
+ alpha|sparc|sparc64)
SHLIB_CFLAGS="-fPIC"
;;
*)