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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/yacc/Makefile.com
          +++ new/usr/src/cmd/sgs/yacc/Makefile.com
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  
  61   61  INCLIST=        -I../../include -I../../include/$(MACH)
  62   62  CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)
  63   63  $(PROG):=       LDLIBS = $(LDLIBS.cmd)
  64   64  BUILD.AR=       $(AR) $(ARFLAGS) $@ `$(LORDER) $(OBJS) | $(TSORT)`
  65   65  
  66   66  CSTD= $(CSTD_GNU99)
  67   67  CFLAGS += $(CCVERBOSE)
  68   68  CFLAGS64 += $(CCVERBOSE)
  69   69  CERRWARN += -_gcc=-Wno-parentheses
  70      -CERRWARN += -_gcc=-Wno-uninitialized
       70 +CERRWARN += $(CNOWARN_UNINIT)
  71   71  
  72   72  # not linted
  73   73  SMATCH=off
  74   74  
  75   75  $(ROOTPROG):= FILEMODE = 0555
  76   76  
  77   77  ROOTYACCPAR=    $(YACCPAR:%=$(ROOTSHLIBCCS)/%)
  78   78  
  79   79  DYNLINKLIBDIR=  $(ROOTLIBDIR)
  80   80  DYNLINKLIB=     $(LIBLINKS:%=$(DYNLINKLIBDIR)/%)
  81   81  
  82   82  LDLIBS += -lc
  83   83  
  84   84  CLOBBERFILES += $(LIBS) $(LIBRARY)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX