Print this page
9884 cw(1) should use -fpic rather than -Kpic

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/smbsrv/libsmbrp/sparcv9/Makefile
          +++ new/usr/src/lib/smbsrv/libsmbrp/sparcv9/Makefile
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  
  26   26  include ../Makefile.com
  27   27  include ../../../Makefile.lib.64
  28   28  
  29   29  # With the adition of BIND 8.3.3, the symbol table for 64 bit went over
  30   30  # the limit for Kpic, so we add -KPIC here, for just the 64 bit SPARC
  31   31  # library. This avoids compiling the 32-bit library with PIC unnecessarily.
  32      -sparcv9_C_PICFLAGS =    -K PIC
  33      -sparcv9_CC_PICFLAGS =   -KPIC
       32 +sparcv9_C_PICFLAGS =    $(sparcv9_C_BIGPICFLAGS)
  34   33  
  35   34  $(ROOTLIBDIR64):
  36   35          $(INS.dir)
  37   36  
  38   37  install: all $(ROOTLIBDIR64) $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX