summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-v8_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron4/files/patch-v8_BUILD.gn')
-rw-r--r--devel/electron4/files/patch-v8_BUILD.gn41
1 files changed, 0 insertions, 41 deletions
diff --git a/devel/electron4/files/patch-v8_BUILD.gn b/devel/electron4/files/patch-v8_BUILD.gn
deleted file mode 100644
index ff8acf2302e5..000000000000
--- a/devel/electron4/files/patch-v8_BUILD.gn
+++ /dev/null
@@ -1,41 +0,0 @@
---- v8/BUILD.gn.orig 2019-06-07 04:25:16 UTC
-+++ v8/BUILD.gn
-@@ -2610,7 +2610,7 @@ v8_source_set("v8_base") {
- "src/x64/simulator-x64.h",
- "src/x64/sse-instr.h",
- ]
-- if (is_linux) {
-+ if (is_linux && !is_bsd) {
- sources += [
- "src/trap-handler/handler-inside-linux.cc",
- "src/trap-handler/handler-outside-linux.cc",
-@@ -2959,7 +2959,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",
-@@ -2979,6 +2979,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 = [
-@@ -3148,6 +3154,7 @@ if (v8_use_snapshot && current_toolchain == v8_snapsho
- sources = [
- "src/snapshot/mksnapshot.cc",
- ]
-+ libs = ["execinfo"]
-
- configs = [ ":internal_config" ]
-