diff options
Diffstat (limited to 'devel/electron5/files/patch-v8_BUILD.gn')
-rw-r--r-- | devel/electron5/files/patch-v8_BUILD.gn | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/devel/electron5/files/patch-v8_BUILD.gn b/devel/electron5/files/patch-v8_BUILD.gn new file mode 100644 index 000000000000..0daa98351092 --- /dev/null +++ b/devel/electron5/files/patch-v8_BUILD.gn @@ -0,0 +1,32 @@ +--- v8/BUILD.gn.orig 2019-06-10 07:45:01 UTC ++++ v8/BUILD.gn +@@ -3177,7 +3177,7 @@ v8_component("v8_libbase") { + } + } + +- if (is_linux) { ++ if (is_linux && !is_bsd) { + sources += [ + "src/base/debug/stack_trace_posix.cc", + "src/base/platform/platform-linux.cc", +@@ -3197,6 +3197,12 @@ v8_component("v8_libbase") { + "dl", + "rt", + ] ++ } else if (is_bsd) { ++ sources += [ ++ "src/base/debug/stack_trace_posix.cc", ++ "src/base/platform/platform-freebsd.cc", ++ ] ++ libs = [ "rt", "execinfo" ] + } else if (is_android) { + if (current_toolchain == host_toolchain) { + libs = [ +@@ -3399,6 +3405,7 @@ if (v8_use_snapshot && current_toolchain == v8_snapsho + "src/snapshot/embedded-file-writer.h", + "src/snapshot/mksnapshot.cc", + ] ++ libs = ["execinfo"] + + configs = [ ":internal_config" ] + |