diff options
Diffstat (limited to 'devel/electron13/files/patch-sandbox_linux_BUILD.gn')
-rw-r--r-- | devel/electron13/files/patch-sandbox_linux_BUILD.gn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-sandbox_linux_BUILD.gn b/devel/electron13/files/patch-sandbox_linux_BUILD.gn new file mode 100644 index 000000000000..4734d699fdf3 --- /dev/null +++ b/devel/electron13/files/patch-sandbox_linux_BUILD.gn @@ -0,0 +1,20 @@ +--- sandbox/linux/BUILD.gn.orig 2021-07-15 19:13:43 UTC ++++ sandbox/linux/BUILD.gn +@@ -392,7 +392,7 @@ component("sandbox_services") { + deps += [ ":sandbox_services_headers" ] + } + +- if (is_nacl_nonsfi) { ++ if (is_nacl_nonsfi || is_bsd) { + cflags = [ "-fgnu-inline-asm" ] + + sources -= [ +@@ -400,6 +400,8 @@ component("sandbox_services") { + "services/init_process_reaper.h", + "services/scoped_process.cc", + "services/scoped_process.h", ++ "services/syscall_wrappers.cc", ++ "services/syscall_wrappers.h", + "services/yama.cc", + "services/yama.h", + "syscall_broker/broker_channel.cc", |