aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/gcc6.patch
blob: 036502c57ea1c8adb7099b577c18d43597e2b8fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/build/config/linux/BUILD.gn b/build/config/linux/BUILD.gn
index 45fee9a..0769c41 100644
--- build/config/linux/BUILD.gn
+++ build/config/linux/BUILD.gn
@@ -13,6 +13,7 @@ group("linux") {
 # is applied to all targets. It is here to separate out the logic that is
 # Linux-only. This is not applied to Android, but is applied to ChromeOS.
 config("compiler") {
+  cflags_cc = [ "-fno-delete-null-pointer-checks" ]
 }
 
 # This is included by reference in the //build/config/compiler:runtime_library