Skip to content

Commit e1bdde0

Browse files
committed
V8 build: 'echo -n' considered harmful
1 parent 822e13d commit e1bdde0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/v8/build/common.gypi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
'target_conditions': [
278278
['_toolset=="host"', {
279279
'variables': {
280-
'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)',
280+
'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo "-m32" || true)',
281281
},
282282
'cflags': [ '<(m32flag)' ],
283283
'ldflags': [ '<(m32flag)' ],
@@ -287,7 +287,7 @@
287287
}],
288288
['_toolset=="target"', {
289289
'variables': {
290-
'm32flag': '<!((echo | $(echo ${CXX_target:-${CXX:-$(which g++)}}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)',
290+
'm32flag': '<!((echo | $(echo ${CXX_target:-${CXX:-$(which g++)}}) -m32 -E - > /dev/null 2>&1) && echo "-m32" || true)',
291291
},
292292
'cflags': [ '<(m32flag)' ],
293293
'ldflags': [ '<(m32flag)' ],

0 commit comments

Comments
 (0)