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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rcap/Makefile.com
          +++ new/usr/src/cmd/rcap/Makefile.com
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  
  27   27  #
  28   28  # Definitions for targets shared by some subdirs, which have
  29   29  # dependencies in rcap/common, the path to which must be the value of
  30   30  # COMMON_DIR.
  31   31  #
  32   32  
  33   33  LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
  34   34  
  35   35  CERRWARN += -_gcc=-Wno-unused-function
  36      -CERRWARN += -_gcc=-Wno-uninitialized
       36 +CERRWARN += $(CNOWARN_UNINIT)
  37   37  CERRWARN += -_gcc=-Wno-parentheses
  38   38  
  39   39  SMOFF += strcpy_overflow
  40   40  
  41   41  %.o: $(COMMON_DIR)/%.c
  42   42          $(COMPILE.c) $<
  43   43  %.po: $(COMMON_DIR)/%.c
  44   44          $(COMPILE.cpp) $< > $<.i
  45   45          $(BUILD.po)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX