| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index e29ebc92e130ed1ddcdee28df8535f8ef10f6969..9c6543d1ff26d2ba06cb76dd04edbd69d763e068 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -4386,7 +4386,7 @@
|
| }],
|
| ],
|
| 'conditions': [
|
| - ['release_valgrind_build==0', {
|
| + ['release_valgrind_build==0 and order_profiling==0', {
|
| 'target_conditions': [
|
| ['_toolset=="target"', {
|
| 'ldflags': [
|
| @@ -4685,7 +4685,7 @@
|
| }],
|
| ],
|
| }],
|
| - ['target_arch == "arm"', {
|
| + ['target_arch == "arm" and order_profiling==0', {
|
| 'ldflags': [
|
| # Enable identical code folding to reduce size.
|
| '-Wl,--icf=safe',
|
|
|