binding.gyp.cmake: Fix npm builds for node 0.12.x
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
@mraa_LIB_INCLUDE_DIRS_GYP@
|
@mraa_LIB_INCLUDE_DIRS_GYP@
|
||||||
],
|
],
|
||||||
'variables': {
|
'variables': {
|
||||||
"v8_version%": "<!(node -e 'console.log(process.versions.v8)' | sed 's/\.//g')",
|
"v8_version%": "<!(node -e 'console.log(process.versions.v8)' | sed 's/\.//g' | cut -c 1-5)",
|
||||||
"arch%": "<!(node -e 'console.log(process.arch)')"
|
"arch%": "<!(node -e 'console.log(process.arch)')"
|
||||||
},
|
},
|
||||||
'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ],
|
'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ],
|
||||||
|
|||||||
Reference in New Issue
Block a user