aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-03-14 16:46:56 +0000
committerMike McQuaid2014-03-14 17:29:44 +0000
commitef37461426bcd39339f44c9ff3f71c1d93471fd9 (patch)
tree1b17c278d795f183096522fa83aa91e701437edc /Library
parent76e1a1f160f879508154f5eaf5bc22b6b8ef3a21 (diff)
downloadhomebrew-ef37461426bcd39339f44c9ff3f71c1d93471fd9.tar.bz2
cc: filter more flags clang hates.
Should help with the Xcode 5.1 madness. Closes #27549.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index e89f176f0..8c2549a11 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -119,8 +119,9 @@ class Cmd
/^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/, '-m64',
/^-O[0-9zs]?$/, '-fast', '-no-cpp-precomp',
'-pedantic', '-pedantic-errors'
- when '-fopenmp', '-lgomp'
- # clang doesn't support OpenMP
+ when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr',
+ '-fno-defer-pop'
+ # clang doesn't support these flags
args << arg if not tool =~ /^clang/
when /^-W.*/
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/