Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/abi/spectrans/parser/Makefile.targ
          +++ new/usr/src/cmd/abi/spectrans/parser/Makefile.targ
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  include $(SRC)/lib/Makefile.lib
  38   38  
  39   39  SRCS    =       $(OBJECTS:%.o=../%.c)
  40   40  
  41   41  LINTFLAGS +=    -xsuF -errtags=yes
  42   42  CLEANFILES +=   $(LINTOUT)
  43   43  CLOBBERFILES += $(LINTLIB) $(LIBRARY)
  44   44  
  45   45  CERRWARN        += -_gcc=-Wno-parentheses
  46   46  CERRWARN        += -_gcc=-Wno-unused-label
  47      -CERRWARN        += -_gcc=-Wno-uninitialized
       47 +CERRWARN        += $(CNOWARN_UNINIT)
  48   48  
  49   49  # not linted
  50   50  SMATCH=off
  51   51  
  52   52  objs/%.o: ../%.c
  53   53          $(COMPILE.c) -o $@ $<
  54   54          $(POST_PROCESS_O)
  55   55  
  56   56  all install:    $(LIBRARY)
  57   57  
  58   58  lint:   lintcheck
  59   59  
  60   60  include $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX