summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorstwo <stwo>2015-10-09 13:18:48 (GMT)
committerstwo <stwo>2015-10-09 13:18:48 (GMT)
commit6816e77cbfb64f58b952d8cd4fe20e69141729ee (patch)
tree077f719619e8ead2ed50e542b0f8091e3a520ba9 /unix
parent404bcc3435d7a5ce178b4b84c86833285d3aa1d4 (diff)
downloadtcl-6816e77cbfb64f58b952d8cd4fe20e69141729ee.zip
tcl-6816e77cbfb64f58b952d8cd4fe20e69141729ee.tar.gz
tcl-6816e77cbfb64f58b952d8cd4fe20e69141729ee.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 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"
;;
*)