Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
build: use -m32 only when host_arch != target_arch
Browse files Browse the repository at this point in the history
Unbreaks the gyp build on x86_64 linux systems.
  • Loading branch information
bnoordhuis committed Sep 19, 2011
1 parent 2f18cf5 commit 8f6f324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.gypi
Expand Up @@ -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' ],
}],
Expand Down

0 comments on commit 8f6f324

Please sign in to comment.