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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/syseventd/modules/zfs_mod/Makefile
          +++ new/usr/src/cmd/syseventd/modules/zfs_mod/Makefile
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
  24   24  
  25   25  LIBRARY=        zfs_mod
  26   26  
  27   27  include ../Makefile.com
  28   28  
  29   29  CPPFLAGS += -I../../../../lib/libc/inc
  30   30  LDLIBS += -lzfs -ldevid -lcmdutils -lnvpair
  31   31  
  32      -CERRWARN += -_gcc=-Wno-uninitialized
       32 +CERRWARN += $(CNOWARN_UNINIT)
  33   33  
  34   34  .KEEP_STATE:
  35   35  
  36   36  all: $(DYNLIB)
  37   37  
  38   38  install: all                            \
  39   39          $(ROOTLIBSYSEVENTDIR)           \
  40   40          $(ROOTLIBDIR)                   \
  41   41          $(ROOTLIBS)
  42   42  
  43   43  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX