binding.gyp.cmake: Fix npm builds for ia32 node.js 0.10.x
Node.js 0.10.x seems to struggle with the 'or' directive. Fixes #272 Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -16,7 +16,10 @@
|
|||||||
'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ],
|
'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ],
|
||||||
'cflags!': [ '-fno-exceptions' ],
|
'cflags!': [ '-fno-exceptions' ],
|
||||||
'conditions' : [
|
'conditions' : [
|
||||||
[ 'arch=="x64"' or 'arch=="ia32"',
|
[ 'arch=="x64"',
|
||||||
|
{ 'defines' : [ 'X86PLAT=ON' ], },
|
||||||
|
],
|
||||||
|
[ 'arch=="ia32"',
|
||||||
{ 'defines' : [ 'X86PLAT=ON'], },
|
{ 'defines' : [ 'X86PLAT=ON'], },
|
||||||
],
|
],
|
||||||
[ 'arch=="arm"',
|
[ 'arch=="arm"',
|
||||||
|
|||||||
Reference in New Issue
Block a user