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

*** 44,59 **** LDLIBS += -lofmt -linetutil -lipadm -lnvpair LINTFLAGS += -m ROOTUSRSBINLINKS = $(PROG:%=$(ROOTUSRSBIN)/%) ! # ipadm uses the ancillary data feature which is available only through ! # UNIX 98 standards version of Socket interface. This interface is supposed to ! # be accessed by -lxnet. In addition -lsocket is used to capture new ! # not-yet-standard interfaces. Someday -lxnet alone should be enough when IPv6 ! # inspired new interfaces are part of standards. ! LDLIBS += -lxnet -lsocket # these #defines are required to use UNIX 98 interfaces _D_UNIX98_EXTN= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ $(OBJS) := CPPFLAGS += $(_D_UNIX98_EXTN) --- 44,54 ---- LDLIBS += -lofmt -linetutil -lipadm -lnvpair LINTFLAGS += -m ROOTUSRSBINLINKS = $(PROG:%=$(ROOTUSRSBIN)/%) ! LDLIBS += -lxnet # these #defines are required to use UNIX 98 interfaces _D_UNIX98_EXTN= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ $(OBJS) := CPPFLAGS += $(_D_UNIX98_EXTN)