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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.bin/pppd/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.bin/pppd/Makefile
↓ open down ↓ 43 lines elided ↑ open up ↑
  44   44  all:            $(PROG) $(SUBDIRS)
  45   45  
  46   46  # MS-CHAP support
  47   47  CPPFLAGS +=     -DHAVE_CRYPT_H -DUSE_CRYPT -DHAVE_LIBMD
  48   48  CPPFLAGS +=     -DCHAPMS -DMSLANMAN
  49   49  CPPFLAGS +=     -DCHAPMSV2
  50   50  OBJS +=         chap_ms.o
  51   51  EXOBJS +=       mschap_test.o
  52   52  CLOBBERFILES += mschap_test
  53   53  
  54      -CERRWARN +=     -_gcc=-Wno-uninitialized
       54 +CERRWARN +=     $(CNOWARN_UNINIT)
  55   55  
  56   56  # main() is too hairy for smatch
  57   57  SMATCH=off
  58   58  
  59   59  # This is used *only* for testing the portability of the libraries
  60   60  # required for MS-CHAPv1.  It is not needed in any normal system and
  61   61  # is not built by default.
  62   62  mschap_test:    mschap_test.o chap_ms.o
  63   63          $(LINK.c) -o mschap_test mschap_test.o chap_ms.o $(LDFLAGS) -lmd
  64   64          @echo "Run with 'mschap_test 00000000000000000000000000000000 hello'"
↓ open down ↓ 64 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX