summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/Makefile.com
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2018-02-05 08:52:36 +0300
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2018-02-06 14:27:39 +0100
commitbd0ce624be4492bab2f6c53383a40618647aba28 (patch)
treeabf4de26cdc58c35712e9b10380643e048498772 /usr/src/cmd/sgs/Makefile.com
parent9a67df4bb0ad84bdbd1a1441f5ddef328cc000f0 (diff)
downloadillumos-joyent-bd0ce624be4492bab2f6c53383a40618647aba28.tar.gz
9027 Makefiles need to specify C99 mode consistently
Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Diffstat (limited to 'usr/src/cmd/sgs/Makefile.com')
-rw-r--r--usr/src/cmd/sgs/Makefile.com4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/sgs/Makefile.com b/usr/src/cmd/sgs/Makefile.com
index 650a93e967..6964761a4e 100644
--- a/usr/src/cmd/sgs/Makefile.com
+++ b/usr/src/cmd/sgs/Makefile.com
@@ -41,12 +41,12 @@ ARCH = $($(MACH)_ARCH)
# Setting DEBUG = -DDEBUG (or "make DEBUG=-DDEBUG ...") enables ASSERT()
# checking. This is automatically enabled for DEBUG builds, not for non-debug
-# builds. Unset the global C99_DISABLE flag to insure we uncover all compiler
+# builds. Unset the global CSTD_GNU89 flag to insure we uncover all compiler
# warnings/errors.
DEBUG =
$(NOT_RELEASE_BUILD)DEBUG = -DDEBUG
-C99_DISABLE = $(C99_ENABLE)
+CSTD_GNU89 = $(CSTD_GNU99)
CFLAGS += $(CCVERBOSE) $(DEBUG) $(XFFLAG)
CFLAGS64 += $(CCVERBOSE) $(DEBUG) $(XFFLAG)