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

@@ -1,10 +1,12 @@
 #
 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright 2011, Richard Lowe.
+# Copyright 2017 RackTop Systems.
+#
 
 include ../../Makefile.ctf
 
 LIBRARY=        libdwarf.a
 VERS=           .1

@@ -97,7 +99,10 @@
 # We can't provide CTF information for libdwarf, as the CTF tools themselves
 # depond upon it, and so aren't built yet.
 $(DYNLIB) := CTFMERGE_POST= :
 CTFCONVERT_O= :
 
+# Disable -zassert-deflib.  We want to link against host libraries.
+$(DYNLIB) := ZASSERTDEFLIB=
+
 include $(SRC)/lib/Makefile.targ