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>
This commit is contained in:
parent
cf16987845
commit
0f499ac7be
@ -284,7 +284,7 @@ Please take one of the following actions:
|
|||||||
remove_from_cflags %r{( -Xclang \S+)+}
|
remove_from_cflags %r{( -Xclang \S+)+}
|
||||||
remove_from_cflags %r{-mssse3}
|
remove_from_cflags %r{-mssse3}
|
||||||
remove_from_cflags %r{-msse4(\.\d)?}
|
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
|
# Don't set -msse3 and older flags because -march does that for us
|
||||||
if ARGV.build_bottle?
|
if ARGV.build_bottle?
|
||||||
if map.has_key?(:bottle)
|
if map.has_key?(:bottle)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user