diff options
| author | Jack Nagel | 2012-01-19 22:54:28 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-01-19 22:54:28 -0600 |
| commit | 0f499ac7bee6390d640ff3c636ea026fb47b4ad9 (patch) | |
| tree | d922e0be59b3a26300c321c3ebe18b6ab679fbc7 /Library/Homebrew | |
| parent | cf1698784585ea6cace7fc8f2ae68b5ce7407bd7 (diff) | |
| download | brew-0f499ac7bee6390d640ff3c636ea026fb47b4ad9.tar.bz2 | |
Don't append an empty value to CFLAGS
Appending an empty string results in an extraneous space character.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/extend/ENV.rb | 2 |
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) |
