Print this page
7595 sgs native-proto fails on pre-7029 illumos-gate
Reviewed by: Richard Lowe <richlowe@richlowe.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/liblddbg/Makefile.com
          +++ new/usr/src/cmd/sgs/liblddbg/Makefile.com
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright 2016 RackTop Systems.
  24   25  #
  25   26  
  26   27  LIBRARY =       liblddbg.a
  27   28  VERS =          .4
  28   29  
  29   30  COMOBJS =       args.o          audit.o         basic.o         debug.o \
  30   31                  syminfo.o       tls.o
  31   32  
  32   33  COMOBJS32 =     bindings32.o    cap32.o         dlfcns32.o      dynamic32.o \
  33   34                  elf32.o         entry32.o       files32.o       got32.o \
↓ open down ↓ 26 lines elided ↑ open up ↑
  60   61  
  61   62  CERRWARN +=     -_gcc=-Wno-unused-value
  62   63  CERRWARN +=     -_gcc=-Wno-uninitialized
  63   64  CERRWARN +=     -_gcc=-Wno-parentheses
  64   65  
  65   66  CPPFLAGS +=     -I$(SRCBASE)/lib/libc/inc
  66   67  DYNFLAGS +=     $(VERSREF) $(CC_USE_PROTO) '-R$$ORIGIN'
  67   68  LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) -lc
  68   69  
  69   70  native :=       DYNFLAGS        += $(CONVLIBDIR)
       71 +native :=       CPPFLAGS        += -DNATIVE_BUILD
  70   72  
  71   73  BLTDEFS =       msg.h
  72   74  BLTDATA =       msg.c
  73   75  BLTMESG =       $(SGSMSGDIR)/liblddbg
  74   76  
  75   77  BLTFILES =      $(BLTDEFS) $(BLTDATA) $(BLTMESG)
  76   78  
  77   79  SGSMSGCOM =     ../common/liblddbg.msg
  78   80  SGSMSGALL =     $(SGSMSGCOM)
  79   81  SGSMSGTARG =    $(SGSMSGCOM)
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX