aports/community/chromium/gcc6.patch
2016-12-19 15:17:15 +01:00

11 lines
370 B
Diff

--- 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" ]
}