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

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/ctf/dwarf/Makefile.com
          +++ new/usr/src/tools/ctf/dwarf/Makefile.com
   1    1  #
   2    2  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
   3    3  # Use is subject to license terms.
   4    4  #
   5    5  # Copyright 2011, Richard Lowe.
        6 +# Copyright 2017 RackTop Systems.
        7 +#
   6    8  
   7    9  include ../../Makefile.ctf
   8   10  
   9   11  LIBRARY=        libdwarf.a
  10   12  VERS=           .1
  11   13  
  12   14  OBJECTS=dwarf_abbrev.o          \
  13   15          dwarf_addr_finder.o     \
  14   16          dwarf_alloc.o           \
  15   17          dwarf_arange.o          \
↓ open down ↓ 76 lines elided ↑ open up ↑
  92   94  $(ROOTONBLDLIBMACH)/$(LIBLINKS): $(ROOTONBLDLIBMACH)/$(LIBLINKS)$(VERS)
  93   95          $(INS.liblink)
  94   96  
  95   97  FRC:
  96   98  
  97   99  # We can't provide CTF information for libdwarf, as the CTF tools themselves
  98  100  # depond upon it, and so aren't built yet.
  99  101  $(DYNLIB) := CTFMERGE_POST= :
 100  102  CTFCONVERT_O= :
 101  103  
      104 +# Disable -zassert-deflib.  We want to link against host libraries.
      105 +$(DYNLIB) := ZASSERTDEFLIB=
      106 +
 102  107  include $(SRC)/lib/Makefile.targ
 103  108  
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX