Skip to content

Commit 41840a3

Browse files
committed
fix v7 linux build with -Wno-unused-result
1 parent bef2a79 commit 41840a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

node.gyp

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

0 commit comments

Comments
 (0)