mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
2a5af64d0e
This commit fixes #94 and closes #105
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
diff --git a/build/common.gypi b/build/common.gypi
|
|
index 3a59639..14bf0f9 100644
|
|
--- a/build/common.gypi
|
|
+++ b/build/common.gypi
|
|
@@ -376,7 +376,8 @@
|
|
}],
|
|
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
|
|
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
|
|
- '-Wnon-virtual-dtor', '-Woverloaded-virtual' ],
|
|
+ '-Wnon-virtual-dtor', '-Woverloaded-virtual',
|
|
+ '-Wno-unused-private-field' ],
|
|
}],
|
|
['OS=="linux" and v8_enable_backtrace==1', {
|
|
# Support for backtrace_symbols.
|
|
diff --git a/build/standalone.gypi b/build/standalone.gypi
|
|
index 125c5bf..c8d9b4f 100644
|
|
--- a/build/standalone.gypi
|
|
+++ b/build/standalone.gypi
|
|
@@ -98,7 +98,8 @@
|
|
'target_defaults': {
|
|
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
|
|
'-Wnon-virtual-dtor', '-pthread', '-fno-rtti',
|
|
- '-fno-exceptions', '-pedantic' ],
|
|
+ '-fno-exceptions', '-pedantic',
|
|
+ '-Wno-unused-private-field' ],
|
|
'ldflags': [ '-pthread', ],
|
|
'conditions': [
|
|
[ 'OS=="linux"', {
|