Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 9171eeeacce55220cb16f5f17d0d0bd3170f777b..b4b4dc01bee14dacae538dede34570f5a35f891a 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3811,6 +3811,14 @@ |
'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-tables'], |
'defines': ['NO_UNWIND_TABLES'], |
}], |
+ ['clang==1', { |
+ # Non-unique section names appears to make linker dead stripping |
+ # less effective. See http://crbug.com/483026#c20 |
+ # TODO(hans): Remove this if resolved upstream. |
+ 'cflags': [ |
+ '-funique-section-names', |
+ ], |
+ }], |
], |
}, |
}, |