aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-03-19 21:38:17 -0500
committerJack Nagel2014-03-19 21:40:41 -0500
commit87b9d7ff6a8ae0d00b7fe9ce08cf158d70a9f9b2 (patch)
tree5dd00e92db52b91c391fde904e77ef1b89ffb1f2
parentdc8218fdb50a303f5441e7a54866932f67669b0f (diff)
downloadbrew-87b9d7ff6a8ae0d00b7fe9ce08cf158d70a9f9b2.tar.bz2
More flags that clang used to ignore
-rwxr-xr-xLibrary/ENV/4.3/cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index e643c4c5f..e2f0490e5 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -120,7 +120,8 @@ class Cmd
/^-O[0-9zs]?$/, '-fast', '-no-cpp-precomp',
'-pedantic', '-pedantic-errors'
when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr',
- '-fno-defer-pop', '-fno-check-new', '-mno-dynamic-no-pic'
+ '-fno-defer-pop', '-fno-check-new', '-mno-dynamic-no-pic',
+ '-fearly-inlining', '-finline-functions-called-once', /^-finline-limit/
# clang doesn't support these flags
args << arg if not tool =~ /^clang/
when /^-W.*/