Skip to content

Commit ab1209b

Browse files
committed
Patch compilation flags (nodejs/node#57748)
1 parent d86a1dc commit ab1209b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

common.gypi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,11 +529,13 @@
529529
}],
530530
['_toolset=="host"', {
531531
'conditions': [
532-
[ 'host_arch=="ia32"', {
532+
# nodejs-mobile patch: https://github.com/nodejs/node/pull/57748
533+
[ 'host_arch=="ia32" or (target_arch=="ia32" or target_arch=="arm")', {
533534
'cflags': [ '-m32' ],
534535
'ldflags': [ '-m32' ],
535536
}],
536-
[ 'host_arch=="x64"', {
537+
# nodejs-mobile patch: https://github.com/nodejs/node/pull/57748
538+
[ 'host_arch=="x64" and (target_arch=="x64" or target_arch=="arm64")', {
537539
'cflags': [ '-m64' ],
538540
'ldflags': [ '-m64' ],
539541
}],

0 commit comments

Comments
 (0)