Skip to content

Commit

Permalink
fix v7 linux build with -Wno-unused-result
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwang committed Oct 25, 2016
1 parent fc45033 commit 2aecd22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,9 @@
'NODE_PLATFORM="sunos"',
],
}],
[ 'OS=="linux"', {
'cflags': [ "-Wno-unused-result" ],
}],
[ 'OS=="linux" and component == "shared_library"', {
'ldflags': [ '-L<(PRODUCT_DIR)/../nw/lib/', '-lv8',
'-Wl,--whole-archive <(V8_BASE)',
Expand Down

0 comments on commit 2aecd22

Please sign in to comment.