Print this page
9704 move socket functions to libc
*** 45,55 ****
# to compile a debug version, do a `make COPTFLAG="-g -XO0"'
#
CPPFLAGS += -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
LDLIBS += -lxnet -lnvpair -ldhcpagent -ldhcputil -linetutil -ldevinfo \
! -ldlpi -lresolv -lsocket -lipadm
# Disable warnings that affect all XPG applications.
LINTFLAGS += -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_VAL_TYPE_DECL2
.KEEP_STATE:
--- 45,55 ----
# to compile a debug version, do a `make COPTFLAG="-g -XO0"'
#
CPPFLAGS += -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
LDLIBS += -lxnet -lnvpair -ldhcpagent -ldhcputil -linetutil -ldevinfo \
! -ldlpi -lresolv -lipadm
# Disable warnings that affect all XPG applications.
LINTFLAGS += -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_VAL_TYPE_DECL2
.KEEP_STATE: