diff options
author | Ken Raeburn <raeburn@mit.edu> | 2004-12-17 23:58:47 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2004-12-17 23:58:47 +0000 |
commit | 5db89d52a0bd5be655dbeb6da85d22125466742d (patch) | |
tree | 047000add930701a3729f32046d5142301aad7d8 /src/config/shlib.conf | |
parent | 3d8f63ed17ad7c1ba0a04c611bd08788653dc895 (diff) | |
download | krb5-5db89d52a0bd5be655dbeb6da85d22125466742d.tar.gz krb5-5db89d52a0bd5be655dbeb6da85d22125466742d.tar.xz krb5-5db89d52a0bd5be655dbeb6da85d22125466742d.zip |
can't build shared libraries on sparc64-netbsd
Current trunk code fails to build shared libraries on sparc64-netbsd
because the generated relocations with -fpic don't have the range
necessary. In general, any platform with sparc support that we want
to build for should use -fPIC instead of -fpic, with gcc. (I haven't
checked whether openbsd or freebsd support sparc these days; I think
they're the only ones in our shlib.conf that we might care about.)
* shlib.conf (*-*-netbsd*): Use -fPIC instead of -fpic, which won't work on
sparc64 at least.
ticket: new
target_version: 1.4
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16951 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config/shlib.conf')
-rw-r--r-- | src/config/shlib.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/shlib.conf b/src/config/shlib.conf index 3205bb348..f5c6b8405 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -204,7 +204,7 @@ mips-*-netbsd*) ;; *-*-netbsd*) - PICFLAGS=-fpic + PICFLAGS=-fPIC SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)' SHLIBEXT=.so LDCOMBINE='ld -Bshareable' |