summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorstu <stu>2015-10-09 13:19:57 (GMT)
committerstu <stu>2015-10-09 13:19:57 (GMT)
commit14171d579241f159548e2c0f71a93121d634d3a8 (patch)
tree0a147423e630acc82644f0e8808e13b9069c24d1 /unix
parent75e947abf41fd393d2a2ec7620cef3238f69acbe (diff)
downloadtk-14171d579241f159548e2c0f71a93121d634d3a8.zip
tk-14171d579241f159548e2c0f71a93121d634d3a8.tar.gz
tk-14171d579241f159548e2c0f71a93121d634d3a8.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"
;;
*)