summaryrefslogtreecommitdiffstats
path: root/community/chromium/gcc6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/gcc6.patch')
-rw-r--r--community/chromium/gcc6.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/chromium/gcc6.patch b/community/chromium/gcc6.patch
new file mode 100644
index 00000000000..21a63ceebd5
--- /dev/null
+++ b/community/chromium/gcc6.patch
@@ -0,0 +1,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" ]
+ }