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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdtrace_jni/Makefile.com
          +++ new/usr/src/lib/libdtrace_jni/Makefile.com
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  
  40   40  include ../../Makefile.lib
  41   41  
  42   42  SRCS = $(LIBSRCS:%.c=../common/%.c)
  43   43  
  44   44  SRCDIR = ../common
  45   45  
  46   46  CPPFLAGS += -I../common -I.
  47   47  CPPFLAGS += -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris
  48   48  CPPFLAGS += -I../java/native
  49      -CFLAGS += $(CCVERBOSE) -K PIC
  50      -CFLAGS64 += $(CCVERBOSE) -K PIC
       49 +CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
       50 +CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS64)
  51   51  
  52   52  CERRWARN += -_gcc=-Wno-uninitialized
  53   53  
  54   54  LDLIBS += -lc -luutil -ldtrace -lproc
  55   55  
  56   56  LINTLIB =
  57   57  
  58   58  LFLAGS = -t -v
  59   59  
  60   60  ROOTDLIBDIR = $(ROOT)/usr/lib/dtrace_jni
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX