From 414d258c48afbf7cf2136ab169ab53564e1591d9 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Thu, 1 May 2025 20:35:45 +0100 Subject: 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 --- auto/modules/wasm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auto/modules') 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. -- cgit