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

@@ -18,10 +18,11 @@
 #
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2017 RackTop Systems.
 #
 
 LIBRARY =       libscf.a
 VERS =          .1
 

@@ -40,10 +41,11 @@
 LIBS =          $(DYNLIB) $(LINTLIB)
 
 $(NOT_NATIVE)NATIVE_BUILD = $(POUND_SIGN)
 $(NATIVE_BUILD)VERS =
 $(NATIVE_BUILD)LIBS = $(DYNLIB)
+$(NATIVE_BUILD)$(DYNLIB) := ZASSERTDEFLIB=
 
 LDLIBS_i386 += -lsmbios
 LDLIBS +=       -luutil -lc -lgen -lnsl -lnvpair
 LDLIBS +=       $(LDLIBS_$(MACH))