musl: Build with -fexcess-precision=standard -frounding-math.

Clang supports these now.
This commit is contained in:
Alex Rønne Petersen 2024-07-28 15:42:02 +02:00
parent 243bb87db0
commit b03a04c7fc
No known key found for this signature in database

View File

@ -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",