Print this page
8411 Build should warn when linking against libraries outside proto area

*** 19,28 **** --- 19,29 ---- # CDDL HEADER END # # # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + # Copyright 2017 RackTop Systems. # .KEEP_STATE: .SUFFIXES:
*** 48,57 **** --- 49,62 ---- LDLIBS += -L$(ROOT)/usr/lib/fm -lnvpair -lfmevent -lfmd_msg -lfmnotify \ -lumem -lnetsnmp -lnetsnmpagent LDFLAGS += -R/usr/lib/fm LINTFLAGS += -mnu + # Allow Net-SNMP libs to be taken from outside the proto area. + $(ADJUNCT_PROTO_NOT_SET)LDFLAGS += $(ZASSERTDEFLIB)=libnetsnmp.so + $(ADJUNCT_PROTO_NOT_SET)LDFLAGS += $(ZASSERTDEFLIB)=libnetsnmpagent.so + CERRWARN += -_gcc=-Wno-parentheses .NO_PARALLEL: .PARALLEL: $(OBJS) $(LINTFILES)