summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-09-28 17:18:54 +0000
committerJohn Levon <john.levon@joyent.com>2018-10-19 15:53:33 +0000
commit20b880231bb330a968b6ae93b908f6e42057a3e4 (patch)
treeb5e6237062d081a5795a62e9097c7590b1900a51 /usr/src/cmd/mdb
parent104c53876a87e773ef729efa9419a70fe24933cb (diff)
downloadillumos-joyent-OS-7275.tar.gz
OS-7270 ctfconvert doesn't handle DW_AT_specificationOS-7275
OS-7275 ctfdump could generate C-style output OS-7279 DWARF->CTF enum conversion needs to be careful of sign Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
Diffstat (limited to 'usr/src/cmd/mdb')
-rw-r--r--usr/src/cmd/mdb/Makefile.libstandctf5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/cmd/mdb/Makefile.libstandctf b/usr/src/cmd/mdb/Makefile.libstandctf
index caa621be0e..176291399c 100644
--- a/usr/src/cmd/mdb/Makefile.libstandctf
+++ b/usr/src/cmd/mdb/Makefile.libstandctf
@@ -22,6 +22,8 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2018 Joyent, Inc.
+#
.KEEP_STATE:
@@ -45,6 +47,9 @@ $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
CPPFLAGS += -I$(SRC)/common/ctf -I../../../common -DCTF_OLD_VERSIONS -D_MDB \
-Dvsnprintf=ctf_vsnprintf -Dassfail=kmdb_prom_assfail
+CSTD = $(CSTD_GNU99)
+C99LMODE = -Xc99=%all
+
#
# kmdb is a kernel module, so we'll use the kernel's build flags.
CFLAGS64 += $(STAND_FLAGS_64)