aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-sandbox_linux_BUILD.gn
blob: 4734d699fdf3a13d687602d0a2cef47f00ab9447 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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",