From 243bb87db0a793dbc6c3b11226244816cc3d9937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 28 Jul 2024 15:41:35 +0200 Subject: [PATCH] musl: Build with `-fno-strict-aliasing` like upstream. --- src/musl.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/musl.zig b/src/musl.zig index 96caf3d1932d..8ab05ee28c5d 100644 --- a/src/musl.zig +++ b/src/musl.zig @@ -395,6 +395,7 @@ fn addCcArgs( // Musl adds these args to builds with gcc but clang does not support them. //"-fexcess-precision=standard", //"-frounding-math", + "-fno-strict-aliasing", "-Wa,--noexecstack", "-D_XOPEN_SOURCE=700",