mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 00:08:56 +00:00
musl: Build with -fexcess-precision=standard -frounding-math.
Clang supports these now.
This commit is contained in:
parent
243bb87db0
commit
b03a04c7fc
@ -392,9 +392,8 @@ 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…
x
Reference in New Issue
Block a user