aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/gcc6.patch
blob: 21a63ceebd5fc2ed140fe84a3bb5e7dfff7e9916 (plain)
1
2
3
4
5
6
7
8
9
10
--- build/config/linux/BUILD.gn.orig
+++ build/config/linux/BUILD.gn
@@ -13,6 +13,7 @@
 # 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" ]
   cflags = [ "-pthread" ]
   ldflags = [ "-pthread" ]
 }