Browse files

V8 build: 'echo -n' considered harmful

  • Loading branch information...
1 parent 822e13d commit e1bdde05c7ebbfdaad6cf51e67e69754a232751f @isaacs isaacs committed Oct 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 deps/v8/build/common.gypi
View
4 deps/v8/build/common.gypi
@@ -277,7 +277,7 @@
'target_conditions': [
['_toolset=="host"', {
'variables': {
- 'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)',
+ 'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo "-m32" || true)',
},
'cflags': [ '<(m32flag)' ],
'ldflags': [ '<(m32flag)' ],
@@ -287,7 +287,7 @@
}],
['_toolset=="target"', {
'variables': {
- 'm32flag': '<!((echo | $(echo ${CXX_target:-${CXX:-$(which g++)}}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)',
+ 'm32flag': '<!((echo | $(echo ${CXX_target:-${CXX:-$(which g++)}}) -m32 -E - > /dev/null 2>&1) && echo "-m32" || true)',
},
'cflags': [ '<(m32flag)' ],
'ldflags': [ '<(m32flag)' ],

0 comments on commit e1bdde0

Please sign in to comment.