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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/intel/amd64/libproc/Makefile
          +++ new/usr/src/cmd/mdb/intel/amd64/libproc/Makefile
↓ open down ↓ 30 lines elided ↑ open up ↑
  31   31  MODSRCS = libproc.c
  32   32  
  33   33  include ../../../../Makefile.cmd
  34   34  include ../../../../Makefile.cmd.64
  35   35  include ../../Makefile.amd64
  36   36  include ../../../Makefile.module
  37   37  
  38   38  CFLAGS64 += -I../../../../../lib/libproc/common
  39   39  LINTFLAGS64 += -I../../../../../lib/libproc/common
  40   40  
  41      -CERRWARN += -_gcc=-Wno-uninitialized
       41 +CERRWARN += $(CNOWARN_UNINIT)
  42   42  
  43   43  %.o: $(MODSRCS_DIR)/%.c
  44   44          $(COMPILE.c) $<
  45   45          $(CTFCONVERT_O)
  46   46  
  47   47  %.ln: $(MODSRCS_DIR)/%.c
  48   48          $(LINT.c) -c $<
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX