Print this page
don't pass in lint libraries which no longer exist
*** 34,43 ****
INCDIRS = $(SRC)/uts/common
CFLAGS += -I$(INCDIRS)
LINTFLAGS += -I$(INCDIRS)
LDFLAGS += -L$(ROOT)/usr/lib/fm -R/usr/lib/fm
! LDLIBS += -luutil -lxml2 -L$(ROOTLIB)/fm -ltopo
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized
--- 34,46 ----
INCDIRS = $(SRC)/uts/common
CFLAGS += -I$(INCDIRS)
LINTFLAGS += -I$(INCDIRS)
LDFLAGS += -L$(ROOT)/usr/lib/fm -R/usr/lib/fm
! LDLIBS += -luutil -L$(ROOTLIB)/fm -ltopo
!
! # libxml2 has no lint library, so we can only include this while building
! $(PROG) := LDLIBS += -lxml2
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized