ports/www/iridium/files/patch-v8_BUILD.gn
Carlos J. Puga Medina 66d46c9897 www/iridium: Update to 2019.04.73
Submitted by:	Matthias Wolf <matthias@rheinwolf.de>
2019-06-18 19:24:43 +00:00

32 lines
872 B
Text

--- v8/BUILD.gn.orig 2019-03-11 22:08:08 UTC
+++ v8/BUILD.gn
@@ -3160,7 +3160,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",
@@ -3180,6 +3180,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 = [
@@ -3384,6 +3390,7 @@ if (v8_use_snapshot && current_toolchain == v8_snapsho
"src/snapshot/embedded-file-writer.h",
"src/snapshot/mksnapshot.cc",
]
+ libs = ["execinfo"]
configs = [ ":internal_config" ]