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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/udfs/fstyp/Makefile
          +++ new/usr/src/cmd/fs.d/udfs/fstyp/Makefile
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  include ../../../../lib/Makefile.lib
  31   31  include ../../Makefile.fstype
  32   32  
  33   33  # There should be a mapfile here
  34   34  MAPFILES =
  35   35  
  36   36  CFLAGS +=       $(C_PICFLAGS)
  37   37  DYNLIB=         $(LIBPROG)
  38   38  
  39   39  CERRWARN +=     -_gcc=-Wno-unused-function
  40      -CERRWARN +=     -_gcc=-Wno-uninitialized
       40 +CERRWARN +=     $(CNOWARN_UNINIT)
  41   41  
  42   42  LDLIBS += -lnvpair -ladm -lc
  43   43  
  44   44  LINTFLAGS += -erroff=E_STATIC_UNUSED -erroff=E_NAME_DEF_NOT_USED2
  45   45  LINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_NAME_DEF_NOT_USED2
  46   46  
  47   47  #
  48   48  # Override PMAP dependency
  49   49  #
  50   50  PMAP=
↓ open down ↓ 34 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX