summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 48787ec..61d711e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1122,7 +1122,7 @@
# At gyp time, we test the linker for ICF support; this flag
# is then provided to us by gyp. (Currently only gold supports
# an --icf flag.)
- ['LINKER_SUPPORTS_ICF==1', {
+ ['LINKER_SUPPORTS_ICF==1 and release_valgrind_build==0', {
'ldflags': [
'-Wl,--icf=safe',
]