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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/svr4pkg/libinst/Makefile
          +++ new/usr/src/cmd/svr4pkg/libinst/Makefile
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  
  59   59  # For stop-in-your-tracks debugging
  60   60  #CPPFLAGS +=    -DBUG_DEBUG
  61   61  
  62   62  # Lint flags 
  63   63  #
  64   64  LINTFLAGS += -un
  65   65  
  66   66  CERRWARN += -_gcc=-Wno-parentheses
  67   67  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  68      -CERRWARN += -_gcc=-Wno-uninitialized
       68 +CERRWARN += $(CNOWARN_UNINIT)
  69   69  CERRWARN += -_gcc=-Wno-clobbered
  70   70  CERRWARN += -_gcc=-Wno-unused-variable
  71   71  
  72   72  # too many issues
  73   73  SMATCH=off
  74   74  
  75   75  .KEEP_STATE:
  76   76  
  77   77  all: $(PROG)
  78   78  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX