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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ucodeadm/Makefile
          +++ new/usr/src/cmd/ucodeadm/Makefile
↓ open down ↓ 40 lines elided ↑ open up ↑
  41   41  
  42   42  INTEL_UCODE_FILE = intel-ucode.txt
  43   43  AMD_UCODE_FILE = amd-ucode.bin
  44   44  
  45   45  ROOTUCODEPATH = $(ROOT)/platform/i86pc/ucode
  46   46  ROOTINTELUCODE = $(INTEL_UCODE_FILE:%=$(ROOTUCODEPATH)/%)
  47   47  ROOTAMDUCODE = $(AMD_UCODE_FILE:%=$(ROOTUCODEPATH)/%)
  48   48  
  49   49  CPPFLAGS = -I../../common -I../../uts/common
  50   50  CFLAGS  += $(CCVERBOSE)
  51      -CERRWARN += -_gcc=-Wno-uninitialized
       51 +CERRWARN += $(CNOWARN_UNINIT)
  52   52  CERRWARN += -_gcc=-Wno-type-limits
  53   53  LINTFLAGS += -errtags -erroff=E_NAME_DEF_NOT_USED2
  54   54  LINTFLAGS += -erroff=E_INCONS_ARG_DECL2,E_INCONS_VAL_TYPE_DECL2
  55   55  LDLIBS += -lgen
  56   56  
  57   57  DIRMODE = 0755
  58   58  FILEMODE = 0555
  59   59  
  60   60  $(ROOTINTELUCODE) := FILEMODE = 0444
  61   61  $(ROOTAMDUCODE) := FILEMODE = 0444
↓ open down ↓ 46 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX