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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mailx/Makefile
          +++ new/usr/src/cmd/mailx/Makefile
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  ROOTUCBMAIL=    $(ROOT)/usr/ucb/mail
  60   60  ROOTUCBCAPMAIL= $(ROOT)/usr/ucb/Mail
  61   61  
  62   62  $(ROOTPROG) :=          FILEMODE =      02511
  63   63  $(ROOTMAILXHELP) :=     FILEMODE =      0644
  64   64  $(ROOTMAILXRC) :=       FILEMODE =      0644
  65   65  $(ROOTUCBMAILRC) :=     FILEMODE =      0644
  66   66  
  67   67  CPPFLAGS=       -Ihdr -DUSG -DOPTIM $(CPPFLAGS.master)
  68   68  CERRWARN +=     -_gcc=-Wno-parentheses
  69      -CERRWARN +=     -_gcc=-Wno-uninitialized
       69 +CERRWARN +=     $(CNOWARN_UNINIT)
  70   70  CERRWARN +=     -_gcc=-Wno-unused-variable
  71   71  CERRWARN +=     -_gcc=-Wno-clobbered
  72   72  # not linted
  73   73  SMATCH=off
  74   74  
  75   75  LINTFLAGS=      -hb
  76   76  LDLIBS +=       -lmail -lcustr
  77   77  LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
  78   78  
  79   79  CLOBBERFILES += $(MAILXHELP)
↓ open down ↓ 40 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX