aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 9af15c1e0..9f9579109 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -280,6 +280,7 @@ Please take one of the following actions:
cflags =~ %r{(-Xarch_i386 )-march=}
xarch = $1.to_s
remove_from_cflags %r{(-Xarch_i386 )?-march=\S*}
+ remove_from_cflags %r{( -Xclang \S+)+}
remove_from_cflags %r{-mssse3}
remove_from_cflags %r{-msse4(\.\d)?}
# Don't set -msse3 and older flags because -march does that for us