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/sockpfp/Makefile
          +++ new/usr/src/uts/intel/sockpfp/Makefile
↓ open down ↓ 56 lines elided ↑ open up ↑
  57   57  LDFLAGS += -dy -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/bpf -Ndrv/ip
  58   58  INC_PATH += -I$(UTSBASE)/common/inet/sockmods -I$(UTSBASE)/common/io/bpf
  59   59  
  60   60  #
  61   61  # For now, disable these lint checks; maintainers should endeavor
  62   62  # to investigate and remove these for maximum lint coverage.
  63   63  # Please do not carry these forward to new Makefiles.
  64   64  #
  65   65  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW -erroff=E_BAD_PTR_CAST_ALIGN
  66   66  
  67      -CERRWARN        += -_gcc=-Wno-uninitialized
       67 +CERRWARN        += $(CNOWARN_UNINIT)
  68   68  CERRWARN        += -_gcc=-Wno-unused-label
  69   69  
  70   70  # needs work
  71   71  SMOFF += all_func_returns
  72   72  
  73   73  #
  74   74  #       Default build targets.
  75   75  #
  76   76  .KEEP_STATE:
  77   77  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX