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

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/aw/Makefile
          +++ new/usr/src/tools/aw/Makefile
↓ open down ↓ 22 lines elided ↑ open up ↑
  23   23  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  # Copyright (c) 2018, Joyent, Inc.
  27   27  
  28   28  PROG    = aw
  29   29  
  30   30  include ../Makefile.tools
  31   31  
  32   32  CFLAGS += $(CCVERBOSE)
  33      -CERRWARN += -_gcc=-Wno-uninitialized
       33 +CERRWARN += $(CNOWARN_UNINIT)
  34   34  
  35   35  # not linted
  36   36  SMATCH=off
  37   37  
  38   38  LINTFLAGS += -ux -Xa -errchk=locfmtchk,parentheses
  39   39  
  40   40  CPPFLAGS +=     -DDEFAULT_AS_DIR='"$(GNU_ROOT)/bin"'
  41   41  CPPFLAGS +=     -DDEFAULT_AS64_DIR='"$(GNU_ROOT)/bin"'
  42   42  CPPFLAGS +=     -DDEFAULT_M4_DIR='"/usr/ccs/bin"'
  43   43  CPPFLAGS +=     -DDEFAULT_M4LIB_DIR='"/usr/ccs/lib"'
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX