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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/devinfo/Makefile
          +++ new/usr/src/uts/intel/devinfo/Makefile
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55  #
  56   56  #       Define targets
  57   57  #
  58   58  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  59   59  LINT_TARGET     = $(MODULE).lint
  60   60  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  61   61  
  62   62  CPPFLAGS        += -I$(SRC)/common
  63   63  
  64   64  CERRWARN        += -_gcc=-Wno-unused-label
  65      -CERRWARN        += -_gcc=-Wno-uninitialized
       65 +CERRWARN        += $(CNOWARN_UNINIT)
  66   66  CERRWARN        += -_gcc=-Wno-parentheses
  67   67  CERRWARN        += -_gcc=-Wno-clobbered
  68   68  
  69   69  # needs work
  70   70  $(OBJS_DIR)/devinfo.o := SMOFF += deref_check,strcpy_overflow
  71   71  
  72   72  #
  73   73  #       Default build targets.
  74   74  #
  75   75  .KEEP_STATE:
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX