summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2025-05-01 20:35:45 +0100
committerAndrew Clayton <a.clayton@nginx.com>2025-05-01 20:35:45 +0100
commit414d258c48afbf7cf2136ab169ab53564e1591d9 (patch)
treecc8a1929e704b02d3bdfab10da01c4b5a84e9f92
parent321b9e972de25bbd72b0e51b301a4b67cb5e86b2 (diff)
downloadunit-414d258c48afbf7cf2136ab169ab53564e1591d9.tar.gz
unit-414d258c48afbf7cf2136ab169ab53564e1591d9.tar.bz2
auto/modules/wasm: Remove an unneeded compiler option
-Wno-missing-field-initializers was needed for GCC 4.8 / RHEL 7 etc to avoid warnings with {} empty initialisers. We haven't needed to support that compiler for sometime. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
-rw-r--r--auto/modules/wasm4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/modules/wasm b/auto/modules/wasm
index ad672a1e..04d3e9d9 100644
--- a/auto/modules/wasm
+++ b/auto/modules/wasm
@@ -63,8 +63,8 @@ NXT_WASM_LDFLAGS=
if [ "$NXT_WASM_RUNTIME" = "wasmtime" ]; then
NXT_WASM_LDFLAGS=-lwasmtime
fi
-NXT_WASM_ADDITIONAL_FLAGS="-Wno-missing-field-initializers \
- -DNXT_HAVE_WASM_$(echo ${NXT_WASM_RUNTIME} | tr 'a-z' 'A-Z') \
+NXT_WASM_ADDITIONAL_FLAGS=" \
+-DNXT_HAVE_WASM_$(echo ${NXT_WASM_RUNTIME} | tr 'a-z' 'A-Z') \
"
# Set the RPATH/RUNPATH.