summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2022-10-28 01:49:55 +0200
committerAlejandro Colomar <alx@nginx.com>2022-11-15 13:06:08 +0100
commitb30b0905a6045f880e004a0fcdfb15e4cdb1d841 (patch)
treea609aca49d8d68c9db727c27b9bbc82fd0bf3553
parent6ab70192fa26e801ac5891aad85bc6b3ff819782 (diff)
downloadunit-b30b0905a6045f880e004a0fcdfb15e4cdb1d841.tar.gz
unit-b30b0905a6045f880e004a0fcdfb15e4cdb1d841.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/test5
-rw-r--r--docs/changes.xml6
2 files changed, 9 insertions, 2 deletions
diff --git a/auto/cc/test b/auto/cc/test
index 9c9602db..b3acb21b 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"
@@ -141,6 +140,8 @@ case $NXT_CC_NAME in
# Do not export symbols except explicitly marked with NXT_EXPORT.
NXT_CFLAGS="$NXT_CFLAGS -fvisibility=hidden"
+ NXT_CFLAGS="$NXT_CFLAGS -std=gnu11"
+
NXT_CFLAGS="$NXT_CFLAGS -O"
#NXT_CFLAGS="$NXT_CFLAGS -O0"
NXT_CFLAGS="$NXT_CFLAGS -W -Wall -Wextra"
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>