diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2024-04-30 00:02:55 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-05-07 02:43:24 +0100 |
commit | 5b01bd652a8ec4854535a9bc70b64fe7db625b51 (patch) | |
tree | 147fe1ceca1b26ba72b788ad83dff74b289e0d38 /auto | |
parent | ff2e0f4223b477fe99dd125356d900cbaaa0fa1f (diff) | |
download | unit-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>
Diffstat (limited to 'auto')
-rw-r--r-- | auto/modules/wasm | 3 |
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') \ " |