Skip to content

Commit

Permalink
musl: Build with -fno-strict-aliasing like upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jul 28, 2024
1 parent d30d37e commit 243bb87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/musl.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down

0 comments on commit 243bb87

Please sign in to comment.