Browse Source

v8: s/echo -n/echo/. Not all sh's are bash.

v0.9.1-release
isaacs 13 years ago
parent
commit
3b95d88bf2
  1. 2
      deps/v8/build/common.gypi

2
deps/v8/build/common.gypi

@ -293,7 +293,7 @@
[ 'v8_target_arch!="x64"', {
# Pass -m32 to the compiler iff it understands the flag.
'variables': {
'm32flag': '<!((echo | $(echo ${CXX:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)',
'm32flag': '<!((echo | $(echo ${CXX:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo "-m32" || true)',
},
'cflags': [ '<(m32flag)' ],
'ldflags': [ '<(m32flag)' ],

Loading…
Cancel
Save