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/m4/sparc/Makefile
          +++ new/usr/src/cmd/sgs/m4/sparc/Makefile
↓ open down ↓ 46 lines elided ↑ open up ↑
  47   47  YSRCS=          $(COBJS:%.o=../common/%.c) $(YBLTSRCS)
  48   48  XPG4SRCS=       $(COBJS:%.o=../common/%.c) $(XPG4BLTSRCS)
  49   49  SRCS=           $(COBJS:%.o=../common/%.c) $(BLTSRCS)
  50   50  
  51   51  INCLIST=        -I../common
  52   52  DEFLIST=        -DELF
  53   53  CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)
  54   54  CFLAGS +=       $(CCVERBOSE)
  55   55  CERRWARN +=     -_gcc=-Wno-parentheses
  56   56  CERRWARN +=     -_gcc=-Wno-unused-label
  57      -CERRWARN +=     -_gcc=-Wno-uninitialized
       57 +CERRWARN +=     $(CNOWARN_UNINIT)
  58   58  CSTD=   $(CSTD_GNU99)
  59   59  
  60   60  CLEANFILES +=   $(BLTSRCS)
  61   61  
  62   62  m4objs.xpg4/%.o := CPPFLAGS += -DXPG4
  63   63  
  64   64  m4objs/%.o m4objs.xpg4/%.o: ../common/%.c
  65   65                  $(COMPILE.c) -o $@ $<
  66   66  
  67   67  .KEEP_STATE:
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX