diff --git a/src/musl.zig b/src/musl.zig index 96caf3d1932d10d140084b533465b7c6de5b24fb..acbb159cb0ae66a7503ee6020616144914b524a3 100644 --- a/src/musl.zig +++ b/src/musl.zig @@ -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",