diff options
author | stu <stwo@users.sourceforge.net> | 2015-10-09 13:19:57 (GMT) |
---|---|---|
committer | stu <stwo@users.sourceforge.net> | 2015-10-09 13:19:57 (GMT) |
commit | b03f9103a3ddcbbc5308c8147847790c015d1f90 (patch) | |
tree | 0a147423e630acc82644f0e8808e13b9069c24d1 | |
parent | 59bec95194444396e84fd64b0c19d4d67daf95f2 (diff) | |
download | tk-b03f9103a3ddcbbc5308c8147847790c015d1f90.zip tk-b03f9103a3ddcbbc5308c8147847790c015d1f90.tar.gz tk-b03f9103a3ddcbbc5308c8147847790c015d1f90.tar.bz2 |
Tk/OpenBSD/Sparc needs -fPIC.
-rwxr-xr-x | unix/configure | 2 | ||||
-rw-r--r-- | unix/tcl.m4 | 2 |
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" ;; *) |