Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/traceroute/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/traceroute/Makefile
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  PROG=           traceroute
  27   27  OBJS=           traceroute.o traceroute_aux.o traceroute_aux6.o
  28   28  SRCS=           $(OBJS:.o=.c)
  29   29  
  30   30  include ../../../Makefile.cmd
  31   31  
  32   32  $(ROOTUSRSBIN)/traceroute       :=      FILEMODE= 04555
  33   33  
  34   34  # Traceroute uses the ancillary data feature which is available only through
  35   35  # UNIX 98 standards version of Socket interface. This interface is supposed to
  36      -# be accessed by -lxnet. In addition -lsocket is used to
  37      -# capture new not-yet-standard interfaces. Someday -lxnet alone should be enough
  38      -# when IPv6 inspired new interfaces are part of standards.
       36 +# be accessed by -lxnet. In addition -lsocket is used to capture new
       37 +# not-yet-standard interfaces. Someday -lxnet alone should be enough when IPv6
       38 +# inspired new interfaces are part of standards.
  39   39  LDLIBS +=       -lxnet -lsocket -linetutil
  40   40  
  41   41  # These #defines are required to use UNIX 98 interfaces
  42   42  CPPFLAGS += -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
  43   43  
  44   44  #
  45   45  # Setting the above defines to use the UNIX98 ancillary data feature
  46   46  # causes lint to output warnings about lint library declarations
  47   47  # conflicting with those in the header files. Since we need these
  48   48  # features, the best course of action is to switch the types of the
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX