build: [gn] build release with is_cfi = false

When is_cfi = true (the default on Linux Release), Electron crashes at
boot with SIGILL in V8::InitializePlatform.
This commit is contained in:
Jeremy Apthorp 2018-07-30 13:01:35 -07:00
parent 3bdff2d238
commit d0a9c2c77f

View file

@ -2,3 +2,7 @@ import("all.gn")
is_component_build = false
is_official_build = true
is_component_ffmpeg = true
# TODO(nornagon): linking non-CFI code (nodejs) with CFI code fails at runtime.
# Once we can build nodejs with CFI flags matching Electron's, remove this.
is_cfi = false