Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

build: use -m32 only when host_arch != target_arch

Unbreaks the gyp build on x86_64 linux systems.
  • Loading branch information
bnoordhuis committed Sep 19, 2011
1 parent 2f18cf5 commit 8f6f324746e6343b4fbd8a37b8a84c2d9c0f4d50
Showing with 1 addition and 1 deletion.
  1. +1 −1 common.gypi
@@ -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' ],
}],

0 comments on commit 8f6f324

Please sign in to comment.
You can’t perform that action at this time.