summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorstu <stwo@users.sourceforge.net>2015-10-09 13:19:57 (GMT)
committerstu <stwo@users.sourceforge.net>2015-10-09 13:19:57 (GMT)
commit40640915557de5d223efa4edaaa69c843cb138cd (patch)
tree0a147423e630acc82644f0e8808e13b9069c24d1 /unix
parentf5d4ffd4633b850b12389d71358c75289cc61b2c (diff)
downloadtk-40640915557de5d223efa4edaaa69c843cb138cd.zip
tk-40640915557de5d223efa4edaaa69c843cb138cd.tar.gz
tk-40640915557de5d223efa4edaaa69c843cb138cd.tar.bz2
Tk/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 7934d9e..a03d1c0 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5364,7 +5364,7 @@ fi
;;
*)
case "$arch" in
- alpha|sparc64)
+ alpha|sparc|sparc64)
SHLIB_CFLAGS="-fPIC"
;;
*)
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index a6cb41b..f6713e7 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1476,7 +1476,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
;;
*)
case "$arch" in
- alpha|sparc64)
+ alpha|sparc|sparc64)
SHLIB_CFLAGS="-fPIC"
;;
*)