fix this on sparc64 - use -fPIC, not -fpic
This commit is contained in:
parent
faf8c2cb3c
commit
8aa544c9c1
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2001/11/21 00:45:21 pvalchev Exp $
|
||||
$OpenBSD: patch-configure,v 1.3 2002/02/05 22:33:49 pvalchev Exp $
|
||||
--- configure.orig Mon Mar 8 23:51:26 1999
|
||||
+++ configure Tue Nov 20 00:24:05 2001
|
||||
+++ configure Tue Feb 5 16:06:42 2002
|
||||
@@ -4095,16 +4095,21 @@ rm -f conftest*
|
||||
fi
|
||||
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
||||
@ -10,7 +10,7 @@ $OpenBSD: patch-configure,v 1.2 2001/11/21 00:45:21 pvalchev Exp $
|
||||
- SHLIB_LD="ld -Bshareable -x"
|
||||
+
|
||||
+ case `machine` in
|
||||
+ sparc)
|
||||
+ sparc|sparc64)
|
||||
+ SHLIB_CFLAGS="-fPIC";;
|
||||
+ *)
|
||||
+ SHLIB_CFLAGS="-fpic";;
|
||||
|
Loading…
Reference in New Issue
Block a user