summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc
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/lib/libc
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/lib/libc')
-rw-r--r--usr/src/lib/libc/amd64/Makefile2
-rw-r--r--usr/src/lib/libc/i386/Makefile.com2
-rw-r--r--usr/src/lib/libc/sparc/Makefile.com2
-rw-r--r--usr/src/lib/libc/sparcv9/Makefile.com2
4 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/lib/libc/amd64/Makefile b/usr/src/lib/libc/amd64/Makefile
index 07c2fc1f0f..e9ee51e1ff 100644
--- a/usr/src/lib/libc/amd64/Makefile
+++ b/usr/src/lib/libc/amd64/Makefile
@@ -1066,7 +1066,7 @@ BUILD.s= $(AS) $(ASFLAGS) $< -o $@
# Override this top level flag so the compiler builds in its native
# C99 mode. This has been enabled to support the complex arithmetic
# added to libc.
-C99MODE= $(C99_ENABLE)
+CSTD= $(CSTD_GNU99)
# libc method of building an archive
# The "$(GREP) -v ' L '" part is necessary only until
diff --git a/usr/src/lib/libc/i386/Makefile.com b/usr/src/lib/libc/i386/Makefile.com
index c8ce23c765..c496bab9f1 100644
--- a/usr/src/lib/libc/i386/Makefile.com
+++ b/usr/src/lib/libc/i386/Makefile.com
@@ -1126,7 +1126,7 @@ BUILD.s= $(AS) $(ASFLAGS) $< -o $@
# Override this top level flag so the compiler builds in its native
# C99 mode. This has been enabled to support the complex arithmetic
# added to libc.
-C99MODE= $(C99_ENABLE)
+CSTD= $(CSTD_GNU99)
# libc method of building an archive
# The "$(GREP) -v ' L '" part is necessary only until
diff --git a/usr/src/lib/libc/sparc/Makefile.com b/usr/src/lib/libc/sparc/Makefile.com
index e76f1cc175..89219b3abb 100644
--- a/usr/src/lib/libc/sparc/Makefile.com
+++ b/usr/src/lib/libc/sparc/Makefile.com
@@ -1150,7 +1150,7 @@ BUILD.s= $(AS) $(ASFLAGS) $< -o $@
# Override this top level flag so the compiler builds in its native
# C99 mode. This has been enabled to support the complex arithmetic
# added to libc.
-C99MODE= $(C99_ENABLE)
+CSTD= $(CSTD_GNU99)
# libc method of building an archive
# The "$(GREP) -v ' L '" part is necessary only until
diff --git a/usr/src/lib/libc/sparcv9/Makefile.com b/usr/src/lib/libc/sparcv9/Makefile.com
index 632aa62dd2..9440bd9815 100644
--- a/usr/src/lib/libc/sparcv9/Makefile.com
+++ b/usr/src/lib/libc/sparcv9/Makefile.com
@@ -1084,7 +1084,7 @@ BUILD.s= $(AS) $(ASFLAGS) $< -o $@
# Override this top level flag so the compiler builds in its native
# C99 mode. This has been enabled to support the complex arithmetic
# added to libc.
-C99MODE= $(C99_ENABLE)
+CSTD= $(CSTD_GNU99)
# libc method of building an archive
# The "$(GREP) -v ' L '" part is necessary only until