summaryrefslogtreecommitdiff
path: root/usr/src/Makefile.ast
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/Makefile.ast
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/Makefile.ast')
-rw-r--r--usr/src/Makefile.ast2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/Makefile.ast b/usr/src/Makefile.ast
index 4dda28afa2..1a85c1c7e7 100644
--- a/usr/src/Makefile.ast
+++ b/usr/src/Makefile.ast
@@ -26,7 +26,7 @@
# Override this top level flag so the compiler builds in its native
# C99 mode. This has been enabled to support the math stuff in the
# AST tools (including ksh93).
-C99MODE= $(C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1
+CSTD= $(CSTD_GNU99) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1
# silence common AST&co. warnings...
# ... about |#pragma prototyped| ...