blob: 5d680b5487caff87ec0e0cad11476304d04d977a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- config/shlib.conf.orig 2009-07-13 14:48:25.000000000 +0200
+++ config/shlib.conf 2009-07-13 14:49:49.000000000 +0200
@@ -258,19 +258,13 @@
;;
*-*-freebsd*)
- if test -x /usr/bin/objformat ; then
- objformat=`/usr/bin/objformat`
- else
- objformat="aout"
- fi
- PICFLAGS=-fpic
- if test "x$objformat" = "xelf" ; then
+ case $krb5_cv_host in
+ sparc64-*) PICFLAGS=-fPIC;;
+ *) PICFLAGS=-fpic;;
+ esac
SHLIBVEXT='.so.$(LIBMAJOR)'
RPATH_FLAG='-Wl,-rpath -Wl,'
- else
- RPATH_FLAG=-R
- SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)'
- fi
+
CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(RPATH_FLAG)$(PROG_RPATH) $(CFLAGS) $(LDFLAGS)'
SHLIBEXT=.so
LDCOMBINE='ld -Bshareable'
|