summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-04-30 00:02:55 +0100
committerAndrew Clayton <a.clayton@nginx.com>2024-05-07 02:43:24 +0100
commit5b01bd652a8ec4854535a9bc70b64fe7db625b51 (patch)
tree147fe1ceca1b26ba72b788ad83dff74b289e0d38
parentff2e0f4223b477fe99dd125356d900cbaaa0fa1f (diff)
downloadunit-5b01bd652a8ec4854535a9bc70b64fe7db625b51.tar.gz
unit-5b01bd652a8ec4854535a9bc70b64fe7db625b51.tar.bz2
auto/wasm: No need to explicitly set -fno-strict-aliasing now
Since commit 0b5223e1c ("Disable strict-aliasing in clang by default") we explicitly always build with -fno-strict-aliasing so there's no need to set it independently in auto/modules/wasm Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
-rw-r--r--auto/modules/wasm3
1 files changed, 1 insertions, 2 deletions
diff --git a/auto/modules/wasm b/auto/modules/wasm
index 86ae7c56..ad672a1e 100644
--- a/auto/modules/wasm
+++ b/auto/modules/wasm
@@ -63,8 +63,7 @@ NXT_WASM_LDFLAGS=
if [ "$NXT_WASM_RUNTIME" = "wasmtime" ]; then
NXT_WASM_LDFLAGS=-lwasmtime
fi
-NXT_WASM_ADDITIONAL_FLAGS="-fno-strict-aliasing \
- -Wno-missing-field-initializers \
+NXT_WASM_ADDITIONAL_FLAGS="-Wno-missing-field-initializers \
-DNXT_HAVE_WASM_$(echo ${NXT_WASM_RUNTIME} | tr 'a-z' 'A-Z') \
"