summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/Makefile.libstandctf
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mdb/Makefile.libstandctf')
-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)