Skip to content

Commit 414d258

Browse files
committed
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 <[email protected]>
1 parent 321b9e9 commit 414d258

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auto/modules/wasm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ NXT_WASM_LDFLAGS=
6363
if [ "$NXT_WASM_RUNTIME" = "wasmtime" ]; then
6464
NXT_WASM_LDFLAGS=-lwasmtime
6565
fi
66-
NXT_WASM_ADDITIONAL_FLAGS="-Wno-missing-field-initializers \
67-
-DNXT_HAVE_WASM_$(echo ${NXT_WASM_RUNTIME} | tr 'a-z' 'A-Z') \
66+
NXT_WASM_ADDITIONAL_FLAGS=" \
67+
-DNXT_HAVE_WASM_$(echo ${NXT_WASM_RUNTIME} | tr 'a-z' 'A-Z') \
6868
"
6969

7070
# Set the RPATH/RUNPATH.

0 commit comments

Comments
 (0)