summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-build_config_sanitizers_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-build_config_sanitizers_BUILD.gn')
-rw-r--r--www/chromium/files/patch-build_config_sanitizers_BUILD.gn20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-build_config_sanitizers_BUILD.gn b/www/chromium/files/patch-build_config_sanitizers_BUILD.gn
new file mode 100644
index 000000000000..8982eef7d5c1
--- /dev/null
+++ b/www/chromium/files/patch-build_config_sanitizers_BUILD.gn
@@ -0,0 +1,20 @@
+--- build/config/sanitizers/BUILD.gn.orig 2016-08-03 22:02:10.000000000 +0300
++++ build/config/sanitizers/BUILD.gn 2016-09-03 00:19:39.656881000 +0300
+@@ -280,7 +280,7 @@
+
+ config("msan_flags") {
+ if (is_msan) {
+- assert(is_linux, "msan only supported on linux x86_64")
++ assert(is_linux || is_bsd, "msan only supported on linux x86_64")
+ msan_blacklist_path =
+ rebase_path("//tools/msan/blacklist.txt", root_build_dir)
+ cflags = [
+@@ -293,7 +293,7 @@
+
+ config("tsan_flags") {
+ if (is_tsan) {
+- assert(is_linux, "tsan only supported on linux x86_64")
++ assert(is_linux || is_bsd, "tsan only supported on linux x86_64")
+ tsan_blacklist_path =
+ rebase_path("//tools/memory/tsan_v2/ignores.txt", root_build_dir)
+ cflags = [