diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 2c6dc205ee..0d07db00f6 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -158,6 +158,9 @@ class Cmd "-fuse-linker-plugin" # clang doesn't support these flags args << arg unless tool =~ /^clang/ + when "--fast-math" + arg = "-ffast-math" if tool =~ /^clang/ + args << arg when "-Wno-deprecated-register" # older gccs don't support these flags args << arg unless tool =~ /^g..-4.[02]/