summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-build_config_sanitizers_sanitizers.gni
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2017-04-29 23:00:33 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2017-04-29 23:00:33 +0000
commit633f9296f4a9a6d9f4988a62658038fdd8c8cc4f (patch)
tree2f4294c7dbe2c6fd14de23902212e77c6a108530 /www/iridium/files/patch-build_config_sanitizers_sanitizers.gni
parentwww/chromium: update to 58.0.3029.81 (diff)
Add new port www/iridium
Iridium is a free, open, and libre browser modification of the Chromium code base, with privacy being enhanced in several key areas. Automatic transmission of partial queries, keywords, metrics to central services is inhibited and only occurs with consent. WWW: https://iridiumbrowser.de/
Diffstat (limited to 'www/iridium/files/patch-build_config_sanitizers_sanitizers.gni')
-rw-r--r--www/iridium/files/patch-build_config_sanitizers_sanitizers.gni13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/iridium/files/patch-build_config_sanitizers_sanitizers.gni b/www/iridium/files/patch-build_config_sanitizers_sanitizers.gni
new file mode 100644
index 000000000000..f7eeffba7876
--- /dev/null
+++ b/www/iridium/files/patch-build_config_sanitizers_sanitizers.gni
@@ -0,0 +1,13 @@
+--- build/config/sanitizers/sanitizers.gni.orig 2017-04-19 19:06:28 UTC
++++ build/config/sanitizers/sanitizers.gni
+@@ -54,8 +54,8 @@ declare_args() {
+ # See http://clang.llvm.org/docs/ControlFlowIntegrity.html
+ #
+ # TODO(pcc): Remove this flag if/when CFI is enabled in all official builds.
+- is_cfi = target_os == "linux" && !is_chromeos && target_cpu == "x64" &&
+- is_official_build && allow_posix_link_time_opt
++ is_cfi = (target_os == "linux" || target_os == "bsd") && !is_chromeos &&
++ target_cpu == "x64" && is_official_build && allow_posix_link_time_opt
+
+ # Enable checks for bad casts: derived cast and unrelated cast.
+ # TODO(krasin): remove this, when we're ready to add these checks by default.