31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
|
|
--- build/common.gypi 2016-06-15 21:03:15.000000000 +0200
|
||
|
|
+++ build/common.gypi 2016-06-15 21:03:15.000000000 +0200
|
||
|
|
@@ -4705,6 +4705,27 @@
|
||
|
|
}],
|
||
|
|
],
|
||
|
|
}],
|
||
|
|
+ ['gcc_version>=60 and clang==0', {
|
||
|
|
+ 'target_conditions': [
|
||
|
|
+ ['_toolset=="target"', {
|
||
|
|
+ 'cflags_cc': [
|
||
|
|
+ # V8 needs this, see https://bugs.chromium.org/p/v8/issues/detail?id=3782
|
||
|
|
+ '-fno-delete-null-pointer-checks',
|
||
|
|
+ ],
|
||
|
|
+ }],
|
||
|
|
+ ],
|
||
|
|
+ }],
|
||
|
|
+ ['host_gcc_version>=60 and clang==0 and host_clang==0', {
|
||
|
|
+ 'target_conditions': [
|
||
|
|
+ ['_toolset=="host"', {
|
||
|
|
+ 'cflags_cc': [
|
||
|
|
+ # V8 needs this, see https://bugs.chromium.org/p/v8/issues/detail?id=3782
|
||
|
|
+ '-fno-delete-null-pointer-checks',
|
||
|
|
+ ],
|
||
|
|
+ }],
|
||
|
|
+ ],
|
||
|
|
+ }],
|
||
|
|
+ ],
|
||
|
|
['clang==0 and host_clang==0', {
|
||
|
|
'target_conditions': [
|
||
|
|
['_toolset=="host"', {
|