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/labelit/Makefile
          +++ new/usr/src/cmd/fs.d/udfs/labelit/Makefile
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33  include         ../../Makefile.fstype
  34   34  
  35   35  LDLIBS += -ladm
  36   36  CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  37   37  CPPFLAGS += -I../fstyp
  38   38  
  39   39  LINTFLAGS += -xerroff=E_STATIC_UNUSED
  40   40  LINTFLAGS64 += -xerroff=E_STATIC_UNUSED
  41   41  
  42   42  CERRWARN += -_gcc=-Wno-unused-function
  43      -CERRWARN += -_gcc=-Wno-uninitialized
       43 +CERRWARN += $(CNOWARN_UNINIT)
  44   44  
  45   45  labelit : labelit.o  ud_lib.o
  46   46          $(LINK.c) -o $@ labelit.o ud_lib.o $(LDLIBS)
  47   47          $(POST_PROCESS)
  48   48  
  49   49  labelit.o : labelit.c ../fstyp/ud_lib.h
  50   50  
  51   51  ud_lib.o : ../fstyp/ud_lib.c ../fstyp/ud_lib.h
  52   52          $(COMPILE.c) -o $@ ../fstyp/ud_lib.c
  53   53          $(POST_PROCESS_O)
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX