Print this page
10051 cw(1) shouldn't have to translate -g

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libtnfctl/Makefile.com
          +++ new/usr/src/lib/libtnfctl/Makefile.com
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  
  59   59  # We omit $(OBJECTS.s:%.o=%.s) in the next line, because lint no like
  60   60  SRCS= $(OBJECTS.c:%.o=../%.c)
  61   61  
  62   62  LIBS=           $(DYNLIB)
  63   63  
  64   64  HDRS=           tnfctl.h
  65   65  ROOTHDRDIR=     $(ROOT)/usr/include/tnf
  66   66  ROOTHDRS=       $(HDRS:%=$(ROOTHDRDIR)/%)
  67   67  CHECKHDRS=      $(HDRS:%.h=%.check)
  68      -$(ROOTHDRS) :=  FILEMODE = 0644
       68 +$(ROOTHDRS) :=  FILEMODE = 0644
  69   69  CHECKHDRS =     $(HDRS:%.h=%.check)
  70   70  
  71   71  LDLIBS +=       -lc -lelf
  72   72  
  73      -# Uncomment the following line for a debug build
  74      -# COPTFLAG =    -g -DDEBUG $(CCVERBOSE)
  75   73  CPPFLAGS +=     -I$(SRC)/lib/libtnfprobe -D_REENTRANT -I$(SRC)/cmd/sgs/include
  76   74  
  77   75  LINTFLAGS +=    -y
  78   76  
  79   77  CERRWARN +=     -_gcc=-Wno-uninitialized
  80   78  CERRWARN +=     -_gcc=-Wno-empty-body
  81   79  CERRWARN +=     -_gcc=-Wno-parentheses
  82   80  
  83   81  ASFLAGS +=      -P
  84   82  
↓ open down ↓ 35 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX