Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 23e1b443dbab683a92319e2e0af3f5278bc8de9e..4e999235eb19c6b86759592bf8ad68ef0efc4e34 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3792,6 +3792,13 @@ |
'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. |
Nico
2015/05/14 21:11:09
Maybe link to the thread or put in a TODO to remov
hans
2015/05/14 21:25:20
Done.
|
+ 'cflags': [ |
+ '-funique-section-names', |
+ ], |
+ }], |
], |
}, |
}, |