Be sure -fPIC is used on Sparc64.

This commit is contained in:
Mikhail Teterin 2003-06-02 20:08:36 +00:00
parent df6809b3df
commit ea7679addd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82052
2 changed files with 14 additions and 2 deletions

View file

@ -1,5 +1,11 @@
--- configure.orig Sun Feb 6 18:54:02 2000
--- configure Sun Feb 6 18:54:02 2000
+++ configure Thu Jul 13 14:29:54 2000
@@ -820,3 +820,5 @@
+if [ `uname -m` != sparc64 ]; then
TCL_SHLIB_CFLAGS=`echo "$TCL_SHLIB_CFLAGS" |sed -e "s|-fPIC|-fpic|" -e "s|-PIC|-pic|" -e "s|-K PIC|-K pic|" -e "s|-KPIC|-Kpic|" -e "s|+Z|+z|"`
+fi
@@ -2088,8 +2088,11 @@
;;
FreeBSD-*)

View file

@ -1,5 +1,11 @@
--- configure.orig Sun Feb 6 18:54:02 2000
--- configure Sun Feb 6 18:54:02 2000
+++ configure Thu Jul 13 14:29:54 2000
@@ -820,3 +820,5 @@
+if [ `uname -m` != sparc64 ]; then
TCL_SHLIB_CFLAGS=`echo "$TCL_SHLIB_CFLAGS" |sed -e "s|-fPIC|-fpic|" -e "s|-PIC|-pic|" -e "s|-K PIC|-K pic|" -e "s|-KPIC|-Kpic|" -e "s|+Z|+z|"`
+fi
@@ -2088,8 +2088,11 @@
;;
FreeBSD-*)