Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/ctf/cvt/Makefile.com
          +++ new/usr/src/tools/ctf/cvt/Makefile.com
↓ open down ↓ 70 lines elided ↑ open up ↑
  71   71          -L$(ROOTONBLDLIBMACH) \
  72   72          '-R$$ORIGIN/../../lib/$(MACH)' \
  73   73          -ldwarf
  74   74  DWARFCPPFLAGS   = -I../../dwarf/common
  75   75  
  76   76  LDFLAGS         += -L$(NATIVE_ADJUNCT)/lib
  77   77  LDLIBS          += -lz -lelf
  78   78  CPPFLAGS        += -D_REENTRANT
  79   79  CFLAGS          += $(CTF_FLAGS)
  80   80  LINTFLAGS       += -mnux
       81 +NATIVE_LIBS     += libz.so libelf.so
  81   82  
  82   83  CERRWARN        += -_gcc=-Wno-unused
  83   84  CERRWARN        += -_gcc=-Wno-uninitialized
  84   85  CERRWARN        += -_gcc=-Wno-switch
  85   86  
  86   87  CSTD            = $(CSTD_GNU99)
  87   88  
  88   89  ctfconvert      := LDFLAGS += $(DWARFLDFLAGS)
  89   90  
  90   91  dwarf.o dwarf.ln        := CPPFLAGS += $(DWARFCPPFLAGS)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX