diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-07-28 15:41:35 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-07-28 15:41:35 +0200 |
| commit | 243bb87db0a793dbc6c3b11226244816cc3d9937 (patch) | |
| tree | b177a72eca95ae4138d8b258d191ee06a8751365 /src | |
| parent | d30d37e356a7e5339c353b2aec94aa9eee59d8c6 (diff) | |
| download | zig-243bb87db0a793dbc6c3b11226244816cc3d9937.tar.gz zig-243bb87db0a793dbc6c3b11226244816cc3d9937.zip | |
musl: Build with `-fno-strict-aliasing` like upstream.
Diffstat (limited to 'src')
| -rw-r--r-- | src/musl.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/musl.zig b/src/musl.zig index 96caf3d193..8ab05ee28c 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", |
