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
commitd6bc5f42f09bf27d35159ce39c0845c50da25d10 (patch)
treeff9c721143745b5219f872c8f4a08d026e15beee /Library
parentc91c2c10d8f4850c7d82434e3832beb7fdd2d187 (diff)
downloadbrew-d6bc5f42f09bf27d35159ce39c0845c50da25d10.tar.bz2
cc: filter more flags clang hates.
Should help with the Xcode 5.1 madness. Closes Homebrew/homebrew#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-/