| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index 6a40e0d13588f9b717d51c6c014d736586787582..4e5bd4312235cdcb28ff28c36c52277e560f22af 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -4481,6 +4481,14 @@
|
| # '-Wl,--threads',
|
| # '-Wl,--thread-count=4',
|
| ],
|
| + 'conditions': [
|
| + # TODO(thestig): Enable this for disabled cases.
|
| + [ 'buildtype!="Official" and chromeos==0 and asan==0 and lsan==0 and tsan==0 and msan==0 and ubsan==0 and ubsan_vptr==0', {
|
| + 'ldflags': [
|
| + '-Wl,--detect-odr-violations',
|
| + ],
|
| + }],
|
| + ],
|
| }],
|
| ],
|
| 'conditions': [
|
|
|