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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mail/Makefile
          +++ new/usr/src/cmd/mail/Makefile
↓ open down ↓ 65 lines elided ↑ open up ↑
  66   66  
  67   67  
  68   68  EDITPATH= \
  69   69          sed -e 's!REAL_PATH!/usr/bin!g' \
  70   70              -e 's!USR_SHARE_LIB!/usr/share/lib!g' \
  71   71              -e 's!VAR_MAIL!/var/mail!g' < $? > $@
  72   72  
  73   73  CPPFLAGS =      -DSVR4 -I. $(CPPFLAGS.master)
  74   74  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  75   75  CERRWARN +=     -_gcc=-Wno-unused-variable
  76      -CERRWARN +=     -_gcc=-Wno-uninitialized
       76 +CERRWARN +=     $(CNOWARN_UNINIT)
  77   77  CERRWARN +=     -_gcc=-Wno-clobbered
  78   78  CERRWARN +=     -_gcc=-Wno-extra
  79   79  
  80   80  # missing type declarations for old-style functions
  81   81  SMATCH =        off
  82   82  
  83   83  LDLIBS +=       -lmail -lsocket
  84   84  
  85   85  # mail defines its own delete() - reduce symbols to locals to remove name clash.
  86   86  LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
↓ open down ↓ 45 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX