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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/libmdesc/Makefile.com
          +++ new/usr/src/lib/fm/libmdesc/Makefile.com
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  include ../../../Makefile.lib
  44   44  include ../../Makefile.lib
  45   45  
  46   46  SRCS = $(LIBSRCS:%.c=$(SRC)/common/mdesc/%.c)
  47   47  
  48   48  LIBS = $(DYNLIB) $(LINTLIB)
  49   49  
  50   50  SRCDIR =        ../common
  51   51  
  52   52  CPPFLAGS += -I../common -I.
  53      -CFLAGS += $(CCVERBOSE) -K PIC
  54      -CFLAGS64 += $(CCVERBOSE) -K PIC
       53 +CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
       54 +CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS64)
  55   55  LDLIBS += -lc
  56   56  
  57   57  LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN -v
  58   58  LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN -v
  59   59  $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  60   60  $(LINTLIB) := LINTFLAGS = -nsvx
  61   61  $(LINTLIB) := LINTFLAGS64 = -nsvx -m64
  62   62  
  63   63  .KEEP_STATE:
  64   64  
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX