| Index: build/common.gypi
|
| ===================================================================
|
| --- build/common.gypi (revision 257086)
|
| +++ build/common.gypi (working copy)
|
| @@ -3616,6 +3616,17 @@
|
| }],
|
| ],
|
| }],
|
| + ['tsan==1', {
|
| + 'target_conditions': [
|
| + ['_toolset=="target"', {
|
| + 'ldflags': [
|
| + # Add RPATH to result binary to make it linking instrumented libraries ($ORIGIN means relative RPATH)
|
| + '-Wl,-R,\$$ORIGIN/instrumented_libraries/tsan/lib/:\$$ORIGIN/instrumented_libraries/tsan/usr/lib/x86_64-linux-gnu/',
|
| + '-Wl,-z,origin',
|
| + ],
|
| + }],
|
| + ],
|
| + }],
|
| ],
|
| }],
|
| ['use_custom_libcxx==1', {
|
|
|