Skip to content

Commit

Permalink
Merge pull request #20839 from alexrp/musl-stuff
Browse files Browse the repository at this point in the history
`musl`: Align `CFLAGS` with upstream
  • Loading branch information
andrewrk authored Jul 29, 2024
2 parents 27507ad + b03a04c commit 19e4de1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/musl.zig
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,9 @@ fn addCcArgs(
try args.appendSlice(&[_][]const u8{
"-std=c99",
"-ffreestanding",
// Musl adds these args to builds with gcc but clang does not support them.
//"-fexcess-precision=standard",
//"-frounding-math",
"-fexcess-precision=standard",
"-frounding-math",
"-fno-strict-aliasing",
"-Wa,--noexecstack",
"-D_XOPEN_SOURCE=700",

Expand Down

0 comments on commit 19e4de1

Please sign in to comment.