Index: base/allocator/allocator.gyp |
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp |
index e2c8ac0faeb383fd96b138b1f99b23c830ab21bb..8f14f3776cbbc0d7c397086ab9e384fd1c3cacca 100644 |
--- a/base/allocator/allocator.gyp |
+++ b/base/allocator/allocator.gyp |
@@ -394,6 +394,16 @@ |
'-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv', |
]}, |
}], |
+ [ 'use_vtable_verify==1', { |
Mark Mentovai
2012/08/14 21:31:54
Since you’ve removed use_vtable_verify from common
Mark Mentovai
2012/08/15 00:18:41
You do need to provide a default definition of use
|
+ 'cflags': [ |
+ '-Wno-sign-compare', |
+ '-Wno-unused-result', |
+ '-fvtable-verify=preinit', |
+ ], |
+ 'cflags!': [ |
+ '-fvtable-verify=std', |
Mark Mentovai
2012/08/14 21:32:23
If nothing is adding this option any more, you can
Mark Mentovai
2012/08/15 00:18:41
How would cflags ever contain -fvtable-verify=std?
|
+ ], |
+ }], |
[ 'linux_use_debugallocation==1', { |
'sources!': [ |
# debugallocation.cc #includes tcmalloc.cc, |