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