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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libfdisk/Makefile.com
          +++ new/usr/src/lib/libfdisk/Makefile.com
↓ open down ↓ 44 lines elided ↑ open up ↑
  45   45  LDLIBS += -lc
  46   46  
  47   47  CFLAGS += -D_LARGEFILE64_SOURCE
  48   48  CFLAGS += -D_FILE_OFFSET_BITS=64
  49   49  CFLAGS64 += -D_LARGEFILE64_SOURCE
  50   50  CFLAGS64 += -D_FILE_OFFSET_BITS=64
  51   51  
  52   52  LINTFLAGS +=    -erroff=E_BAD_PTR_CAST_ALIGN
  53   53  LINTFLAGS64 +=    -erroff=E_BAD_PTR_CAST_ALIGN
  54   54  
  55      -CERRWARN +=     -_gcc=-Wno-uninitialized
       55 +CERRWARN +=     $(CNOWARN_UNINIT)
  56   56  
  57   57  # not linted
  58   58  SMATCH=off
  59   59  
  60   60  .KEEP_STATE:
  61   61  
  62   62  all: $(LIBS)
  63   63  
  64   64  lint: lintcheck
  65   65  
  66   66  pics/%.o: ../common/%.c
  67   67          $(COMPILE.c) -o $@ $<
  68   68          $(POST_PROCESS_O)
  69   69  
  70   70  # include library targets
  71   71  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX