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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/zinject/Makefile.com
          +++ new/usr/src/cmd/zinject/Makefile.com
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  INCS += -I../../../uts/common/fs/zfs/lua
  38   38  
  39   39  LDLIBS += -lzpool -lzfs -lnvpair
  40   40  
  41   41  CSTD=   $(CSTD_GNU99)
  42   42  C99LMODE=       -Xc99=%all
  43   43  
  44   44  CPPFLAGS.first = -I$(SRC)/lib/libfakekernel/common -D_FAKE_KERNEL
  45   45  CPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS)
  46   46  
  47      -CERRWARN += -_gcc=-Wno-uninitialized
       47 +CERRWARN += $(CNOWARN_UNINIT)
  48   48  CERRWARN += -_gcc=-Wno-switch
  49   49  
  50   50  LINTFLAGS += -erroff=E_STATIC_UNUSED
  51   51  LINTFLAGS64 += -erroff=E_STATIC_UNUSED
  52   52  
  53   53  .KEEP_STATE:
  54   54  
  55   55  all: $(PROG)
  56   56  
  57   57  $(PROG): $(OBJS)
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX