Print this page
9884 cw(1) should use -fpic rather than -Kpic
*** 20,41 ****
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
- # ident "%Z%%M% %I% %E% SMI"
- #
MACH_LDLIBS += -L$(ROOT)/usr/lib/smbsrv/$(MACH64)
include ../Makefile.com
include ../../../Makefile.lib.64
# With the adition of BIND 8.3.3, the symbol table for 64 bit went over
# the limit for Kpic, so we add -KPIC here, for just the 64 bit SPARC
# library. This avoids compiling the 32-bit library with PIC unnecessarily.
! sparcv9_C_PICFLAGS = -K PIC
! sparcv9_CC_PICFLAGS = -KPIC
DYNFLAGS += -R/usr/lib/smbsrv/$(MACH64)
install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
--- 20,38 ----
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
MACH_LDLIBS += -L$(ROOT)/usr/lib/smbsrv/$(MACH64)
include ../Makefile.com
include ../../../Makefile.lib.64
# With the adition of BIND 8.3.3, the symbol table for 64 bit went over
# the limit for Kpic, so we add -KPIC here, for just the 64 bit SPARC
# library. This avoids compiling the 32-bit library with PIC unnecessarily.
! sparcv9_C_PICFLAGS = $(sparcv9_C_BIGPICFLAGS)
DYNFLAGS += -R/usr/lib/smbsrv/$(MACH64)
install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)