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

@@ -18,10 +18,11 @@
 #
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2017 RackTop Systems.
 #
 # Definitions common to command source.
 #
 # include global definitions; SRC should be defined in the shell.
 # SRC is needed until RFE 1026993 is implemented.

@@ -121,11 +122,12 @@
 
 LDLIBS =        $(LDLIBS.cmd)
 
 LDFLAGS.cmd = \
         $(BDIRECT) $(ENVLDFLAGS1) $(ENVLDFLAGS2) $(ENVLDFLAGS3) \
-        $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
+        $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) \
+        $(ZASSERTDEFLIB)
 
 LDFLAGS =       $(LDFLAGS.cmd)
 
 LINTFLAGS=      -axsm
 LINTFLAGS64=    -axsm -m64