summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2022-10-28 01:49:55 +0200
committerAlejandro Colomar <alx@kernel.org>2022-11-12 19:59:23 +0100
commit3bbb13b7d2275adbeef528cebf8bd9e8a5a07696 (patch)
treeaf75a27583f8b607275042eba877baf2d05194d5
parent11f416878a9f5f7ec13d548b85982c5de5b55a11 (diff)
downloadunit-3bbb13b7d2275adbeef528cebf8bd9e8a5a07696.tar.gz
unit-3bbb13b7d2275adbeef528cebf8bd9e8a5a07696.tar.bz2
Requiring GNU C11.
Suggested-by: Andrew Clayton <a.clayton@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
-rw-r--r--auto/cc/test3
-rw-r--r--docs/changes.xml6
2 files changed, 7 insertions, 2 deletions
diff --git a/auto/cc/test b/auto/cc/test
index 9c9602db..4bfd054d 100644
--- a/auto/cc/test
+++ b/auto/cc/test
@@ -101,8 +101,7 @@ case $NXT_CC_NAME in
# Do not export symbols except explicitly marked with NXT_EXPORT.
NXT_CFLAGS="$NXT_CFLAGS -fvisibility=hidden"
- # c99/gnu99 conflict with Solaris XOPEN.
- #NXT_CFLAGS="$NXT_CFLAGS -std=gnu99"
+ NXT_CFLAGS="$NXT_CFLAGS -std=gnu11"
NXT_CFLAGS="$NXT_CFLAGS -O"
#NXT_CFLAGS="$NXT_CFLAGS -O0"
diff --git a/docs/changes.xml b/docs/changes.xml
index 014f243d..54d01b1e 100644
--- a/docs/changes.xml
+++ b/docs/changes.xml
@@ -33,6 +33,12 @@ NGINX Unit updated to 1.29.0.
<change type="change">
<para>
+require GNU C11.
+</para>
+</change>
+
+<change type="change">
+<para>
removed $uri auto-append for "share" when loading configuration.
</para>
</change>