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/ping/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/ping/Makefile
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  PROG=           ping
  27   27  OBJS=           ping.o ping_aux.o ping_aux6.o
  28   28  SRCS=           $(OBJS:.o=.c)
  29   29  
  30   30  include ../../../Makefile.cmd
  31   31  
  32   32  $(ROOTUSRSBIN)/ping     :=      FILEMODE= 04555
  33   33  
  34   34  # Ping 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 and is used to
       36 +# be accessed by -lxnet. In addition -lsocket is used to
  37   37  # capture new not-yet-standard interfaces. Someday -lxnet alone should be enough
  38   38  # when IPv6 inspired new interfaces are part of standards.
  39   39  LDLIBS +=       -lxnet -lsocket -lm -linetutil
  40   40  
  41   41  # These #defines are required to use SUSv3 interfaces
  42   42  CPPFLAGS += -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
  43   43  
  44   44  CSTD=   $(CSTD_GNU99)
  45   45  
  46   46  # Setting the above defines to use the UNIX98 ancillary data feature
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX