summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-07 02:07:42 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-08-07 10:08:19 -0400
commite9bc278933e3478bbbc34c1765b3ecfc1f576b3b (patch)
treeff86d80963131d8df94c1874a1b411399fb10c54
parentfbb6cd4b82949252efd46401d32540a35da7451a (diff)
Disable CFI for now.
Fixes Linux release build.
-rw-r--r--.gn4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gn b/.gn
index 1fd465e5c..c405da107 100644
--- a/.gn
+++ b/.gn
@@ -23,6 +23,10 @@ default_args = {
use_ozone = false
use_udev = false
+ # TODO(ry) We may want to turn on CFI at some point. Disabling for simplicity
+ # for now. See http://clang.llvm.org/docs/ControlFlowIntegrity.html
+ is_cfi = false
+
is_component_build = false
symbol_level = 1
treat_warnings_as_errors = false