Author: nhosoi
Update of /cvs/dirsec/ldapserver
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6329
Modified Files:
Tag: Directory71RtmBranch
nsconfig.mk
Log Message:
Fixing the solaris build problem:
relocation error: R_SPARC_H44: file ./lib/libadmin/authdb.o: symbol <unknown>:
relocations based on the ABS44 coding model can not be used in building a
shared object
Building shared libraries for SPARCV9
By default, the SPARC compiler assumes that SPARCV9 objects are built with
-xcode=abs44, which means that 44 bits are used to hold the absolute address
of any object. Shared libraries should be built using position independent
code, either -xcode=pic13 or -xcode=pic32
Index: nsconfig.mk
===================================================================
RCS file: /cvs/dirsec/ldapserver/Attic/nsconfig.mk,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -u -r1.14 -r1.14.2.1
--- nsconfig.mk 10 May 2005 23:16:59 -0000 1.14
+++ nsconfig.mk 17 Jan 2008 00:48:06 -0000 1.14.2.1
@@ -1105,6 +1105,7 @@
ARCH_CFLAGS += -m64
endif
endif
+ARCH_CFLAGS += -xcode=pic32
ARCH_DEBUG=-g
RANLIB=true