summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2016-09-03 18:01:40 +0200
committerDavid Faure <david.faure@kdab.com>2016-09-04 14:32:04 +0000
commitc42f53ec3ca90bfd98577988462ed51464feebe3 (patch)
tree37b09931c368b02191d24809811fb3376cd7a040
parent55be8abc690b546fb97f97623387e0999b7cbce6 (diff)
gcc6: set -fno-delete-null-pointer-checks for all files51-based
Not just v8, as v8_no_delete_null_pointer_checks does. This is necessary e.g. for PaintLayer::enclosingSelfPaintingLayer which also compares this with null. I'll remove v8_no_delete_null_pointer_checks in a later commit to avoid a temporary breakage until qtwebengine is updated. Change-Id: I8782fadc8fab125b5394bd60857e70c6ae75f9b0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--chromium/build/common.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/build/common.gypi b/chromium/build/common.gypi
index 7818545f529..783a95bc606 100644
--- a/chromium/build/common.gypi
+++ b/chromium/build/common.gypi
@@ -4687,6 +4687,9 @@
'-Wl,--disable-new-dtags',
],
}],
+ [ 'no_delete_null_pointer_checks==1', {
+ 'cflags_cc': [ '-fno-delete-null-pointer-checks' ],
+ }],
['clang==0', {
'target_conditions': [
['_toolset=="target"', {