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/i386/Makefile
          +++ new/usr/src/cmd/sgs/m4/i386/Makefile
↓ open down ↓ 48 lines elided ↑ open up ↑
  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  CSTD=   $(CSTD_GNU99)
  56   56  
  57   57  CERRWARN +=     -_gcc=-Wno-parentheses
  58   58  CERRWARN +=     -_gcc=-Wno-unused-label
  59      -CERRWARN +=     -_gcc=-Wno-uninitialized
       59 +CERRWARN +=     $(CNOWARN_UNINIT)
  60   60  
  61   61  CLEANFILES +=   $(BLTSRCS)
  62   62  
  63   63  m4objs.xpg4/%.o := CPPFLAGS += -DXPG4
  64   64  
  65   65  m4objs/%.o m4objs.xpg4/%.o: ../common/%.c
  66   66                  $(COMPILE.c) -o $@ $<
  67   67  
  68   68  .KEEP_STATE:
  69   69  
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX