mirror of
https://github.com/ziglang/zig.git
synced 2024-11-25 13:50:15 +00:00
Merge pull request #20839 from alexrp/musl-stuff
`musl`: Align `CFLAGS` with upstream
This commit is contained in:
commit
19e4de135f
@ -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",
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user