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/ia32/libumem/Makefile
          +++ new/usr/src/cmd/mdb/intel/ia32/libumem/Makefile
↓ open down ↓ 43 lines elided ↑ open up ↑
  44   44  CPPFLAGS += -I$(SRC)/lib/libumem/common
  45   45  CPPFLAGS += -I$(MODSRCS_DIR)
  46   46  
  47   47  include ../../Makefile.ia32
  48   48  include ../../../Makefile.module
  49   49  
  50   50  dmod/$(MODULE) := LDLIBS += -lproc -lm
  51   51  
  52   52  CERRWARN += -_gcc=-Wno-unused-label
  53   53  CERRWARN += -_gcc=-Wno-parentheses
  54      -CERRWARN += -_gcc=-Wno-uninitialized
       54 +CERRWARN += $(CNOWARN_UNINIT)
  55   55  
  56   56  %.o: $(MODSRCS_DIR)/%.c
  57   57          $(COMPILE.c) $<
  58   58          $(CTFCONVERT_O)
  59   59  
  60   60  %.ln: $(MODSRCS_DIR)/%.c
  61   61          $(LINT.c) -c $<
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX