aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 610f50633..c02071c09 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -284,7 +284,7 @@ Please take one of the following actions:
remove_from_cflags %r{( -Xclang \S+)+}
remove_from_cflags %r{-mssse3}
remove_from_cflags %r{-msse4(\.\d)?}
- append_to_cflags xarch
+ append_to_cflags xarch unless xarch.empty?
# Don't set -msse3 and older flags because -march does that for us
if ARGV.build_bottle?
if map.has_key?(:bottle)