build: use -m32 only when host_arch != target_arch
Unbreaks the gyp build on x86_64 linux systems.
This commit is contained in:
parent
2f18cf5ecf
commit
8f6f324746
@ -113,7 +113,7 @@
|
||||
'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
|
||||
'ldflags': [ '-pthread', ],
|
||||
'conditions': [
|
||||
[ 'target_arch=="ia32"', {
|
||||
[ 'host_arch != target_arch and target_arch=="ia32"', {
|
||||
'cflags': [ '-m32' ],
|
||||
'ldflags': [ '-m32' ],
|
||||
}],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user