Print this page
Rich's feedback
6375 Add native name demangling support

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/Makefile.mdb
          +++ new/usr/src/cmd/mdb/Makefile.mdb
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  
  26   26  #
  27   27  # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  28   28  # Copyright (c) 2012 by Delphix. All rights reserved.
  29   29  # Copyright (c) 2012 Joyent, Inc. All rights reserved.
       30 +# Copyright 2018 Jason King
  30   31  #
  31   32  
  32   33  .KEEP_STATE:
  33   34  .SUFFIXES:
  34   35  
  35   36  SRCS += \
  36   37          ffs.c \
  37   38          mdb.c \
  38   39          mdb_addrvec.c \
  39   40          mdb_argvec.c \
↓ open down ↓ 52 lines elided ↑ open up ↑
  92   93          mdb_wcb.c \
  93   94          mdb_whatis.c
  94   95  
  95   96  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  96   97  CPPFLAGS += -D_MDB -I. -I../.. -I../../../common
  97   98  
  98   99  CSTD=   $(CSTD_GNU99)
  99  100  C99LMODE=       -Xc99=%all
 100  101  
 101  102  LDLIBS += -lcurses -lkvm -lproc -lrtld_db -lctf -lumem -ldisasm -lscf
      103 +LDLIBS += -ldemangle-sys
 102  104  
 103  105  CERRWARN += -_gcc=-Wno-uninitialized
 104  106  CERRWARN += -_gcc=-Wno-char-subscripts
 105  107  CERRWARN += -_gcc=-Wno-clobbered
 106  108  CERRWARN += -_gcc=-Wno-parentheses
 107  109  CERRWARN += -_gcc=-Wno-unused-label
 108  110  CERRWARN += -_gcc=-Wno-unused-variable
 109  111  
 110  112  #
 111  113  # -erroff=E_INCONS_ARG_DECL2 works around a problem where lint gets confused
↓ open down ↓ 97 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX