Skip to content

Commit bcca8fa

Browse files
committed
fix v7 linux build with -Wno-unused-result
1 parent 438c59e commit bcca8fa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

node.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,9 @@
620620
'NODE_PLATFORM="sunos"',
621621
],
622622
}],
623+
[ 'OS=="linux"', {
624+
'cflags': [ "-Wno-unused-result" ],
625+
}],
623626
[ 'OS=="linux" and component == "shared_library"', {
624627
'ldflags': [ '-L<(PRODUCT_DIR)/../nw/lib/', '-lv8',
625628
'-Wl,--whole-archive <(V8_LIBBASE)',

0 commit comments

Comments
 (0)