aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 2c6dc205e..0d07db00f 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]/