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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/zlook/Makefile.com
          +++ new/usr/src/cmd/zlook/Makefile.com
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  SRCS= ../$(PROG).c
  28   28  
  29   29  include ../../Makefile.cmd
  30   30  
  31   31  CSTD= $(CSTD_GNU99)
  32   32  C99LMODE= -Xc99=%all
  33   33  CFLAGS += $(CCGDEBUG) $(CCVERBOSE)
  34   34  CFLAGS64 += $(CCGDEBUG) $(CCVERBOSE)
  35   35  CPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS)
  36   36  
  37      -CERRWARN += -_gcc=-Wno-uninitialized
       37 +CERRWARN += $(CNOWARN_UNINIT)
  38   38  
  39   39  .KEEP_STATE:
  40   40  
  41   41  all: $(PROG)
  42   42  
  43   43  $(PROG): $(SRCS)
  44   44          $(LINK.c) -o $(PROG) $(SRCS) $(LDLIBS)
  45   45          $(POST_PROCESS)
  46   46  
  47   47  clean:
  48   48  
  49   49  lint:   lint_SRCS
  50   50  
  51   51  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX