Browse Source

v8: Don't use 'echo -n' in configure script

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

2
deps/v8/build/common.gypi

@ -290,7 +290,7 @@
[ 'v8_target_arch!="x64"', { [ 'v8_target_arch!="x64"', {
# Pass -m32 to the compiler iff it understands the flag. # Pass -m32 to the compiler iff it understands the flag.
'variables': { '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)' ], 'cflags': [ '<(m32flag)' ],
'ldflags': [ '<(m32flag)' ], 'ldflags': [ '<(m32flag)' ],

Loading…
Cancel
Save