summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorstwo <stwo>2015-10-09 13:30:49 (GMT)
committerstwo <stwo>2015-10-09 13:30:49 (GMT)
commit2a1ef7e5c60cf8a23a9da2c301fd4044c9f0db0e (patch)
tree3cfc6d3e55456d927e5bf2adc1a49d7992c88888 /unix
parent87bfeefdb63886437c8e4143e939eac72ca27660 (diff)
downloadtcl-2a1ef7e5c60cf8a23a9da2c301fd4044c9f0db0e.zip
tcl-2a1ef7e5c60cf8a23a9da2c301fd4044c9f0db0e.tar.gz
tcl-2a1ef7e5c60cf8a23a9da2c301fd4044c9f0db0e.tar.bz2
Tcl/OpenBSD/Sparc needs -fPIC.
Diffstat (limited to 'unix')
-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"
;;
*)