Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build
*** 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: