summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstwo@users.sourceforge.net <stwo>2015-10-09 13:18:48 (GMT)
committerstwo@users.sourceforge.net <stwo>2015-10-09 13:18:48 (GMT)
commitb3265b3c4273284590b67aea22633aa539dc47c2 (patch)
tree077f719619e8ead2ed50e542b0f8091e3a520ba9
parentc48839df214de14e0ef8a92839c0bd1b22897a5e (diff)
downloadtcl-b3265b3c4273284590b67aea22633aa539dc47c2.zip
tcl-b3265b3c4273284590b67aea22633aa539dc47c2.tar.gz
tcl-b3265b3c4273284590b67aea22633aa539dc47c2.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 31758c3..27e147b 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7527,7 +7527,7 @@ fi
;;
*)
case "$arch" in
- alpha|sparc64)
+ alpha|sparc|sparc64)
SHLIB_CFLAGS="-fPIC"
;;
*)
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index d896d05..83c3fb1 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1518,7 +1518,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
;;
*)
case "$arch" in
- alpha|sparc64)
+ alpha|sparc|sparc64)
SHLIB_CFLAGS="-fPIC"
;;
*)