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.lib/in.mpathd/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/Makefile
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  CSTD            = $(CSTD_GNU99)
  40   40  
  41   41  #
  42   42  # We need access to the ancillary data features which are only available
  43   43  # via the SUS standards.  Further, C99 support requires SUSv3 or higher.
  44   44  #
  45   45  CPPFLAGS += -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
  46   46  LDLIBS  += -lsocket -lnsl -lsysevent -lnvpair -lipmp -linetutil -ldlpi
  47   47  LINTFLAGS += -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_ARG_USED2
  48   48  
  49      -CERRWARN += -_gcc=-Wno-uninitialized
       49 +CERRWARN += $(CNOWARN_UNINIT)
  50   50  
  51   51  #
  52   52  # Instrument in.mpathd with CTF data to ease debugging.
  53   53  #
  54   54  CTFCONVERT_HOOK = && $(CTFCONVERT_O)
  55   55  CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
  56   56  $(OBJS) := CFLAGS += $(CTF_FLAGS)
  57   57  
  58   58  .KEEP_STATE:
  59   59  
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX