| Index: sandbox/linux/BUILD.gn
|
| diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn
|
| index bf243cda91c1bee5d1751501958fca0c6f3c388a..afed84d66d1b1e54c98ca749aaf866d30bd15ad6 100644
|
| --- a/sandbox/linux/BUILD.gn
|
| +++ b/sandbox/linux/BUILD.gn
|
| @@ -304,6 +304,19 @@ if (is_linux) {
|
| "-Wno-sign-compare",
|
| ]
|
|
|
| + import("//build/config/compiler/compiler.gni")
|
| + import("//build/config/sanitizers/sanitizers.gni")
|
| + if (is_component_build && !using_sanitizer) {
|
| + # WARNING! We remove this config so that we don't accidentally
|
| + # pick up the //build/config:rpath_for_built_shared_libraries
|
| + # sub-config. However, this means that we need to duplicate any
|
| + # other flags that executable_config might have.
|
| + configs -= [ "//build/config:executable_config" ]
|
| + if (!use_gold) {
|
| + ldflags += [ "-Wl,--disable-new-dtags" ]
|
| + }
|
| + }
|
| +
|
| deps = [
|
| "//build/config/sanitizers:deps",
|
| ]
|
|
|