summaryrefslogtreecommitdiff
path: root/usr/src/tools/ctf/libctf/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools/ctf/libctf/Makefile.com')
-rw-r--r--usr/src/tools/ctf/libctf/Makefile.com5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/tools/ctf/libctf/Makefile.com b/usr/src/tools/ctf/libctf/Makefile.com
index 0444b975d5..d932042f54 100644
--- a/usr/src/tools/ctf/libctf/Makefile.com
+++ b/usr/src/tools/ctf/libctf/Makefile.com
@@ -10,7 +10,7 @@
#
#
-# Copyright (c) 2015, Joyent, Inc.
+# Copyright 2018 Joyent, Inc.
#
include $(SRC)/lib/libctf/Makefile.shared.com
@@ -24,6 +24,9 @@ LDLIBS += \
-L$(ROOTONBLDLIBMACH) \
'-R$$ORIGIN/../../lib/$(MACH)' \
+CSTD = $(CSTD_GNU99)
+C99LMODE = -Xc99=%all
+
CPPFLAGS += -I$(SRC)/lib/libctf/common/ \
-I$(SRC)/lib/libdwarf/common/ \
-I$(SRC)/lib/mergeq \