mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 08:19:13 -04:00
Tested with otter-browser on my Talos. Approved by: tcberner (mentor, maintainer, earlier version) Differential Revision: https://reviews.freebsd.org/D22184
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
--- src/3rdparty/chromium/v8/BUILD.gn.orig 2019-05-23 14:39:34.000000000 +0200
|
|
+++ src/3rdparty/chromium/v8/BUILD.gn 2019-10-27 22:44:17.280181000 +0100
|
|
@@ -3006,7 +3006,6 @@
|
|
# to implement atomic memory access
|
|
if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel" ||
|
|
v8_current_cpu == "mips64" || v8_current_cpu == "mips64el" ||
|
|
- v8_current_cpu == "ppc" || v8_current_cpu == "ppc64" ||
|
|
v8_current_cpu == "s390" || v8_current_cpu == "s390x") {
|
|
libs = [ "atomic" ]
|
|
}
|
|
@@ -3169,7 +3168,7 @@
|
|
}
|
|
}
|
|
|
|
- if (is_linux) {
|
|
+ if (is_linux && !is_bsd) {
|
|
sources += [
|
|
"src/base/debug/stack_trace_posix.cc",
|
|
"src/base/platform/platform-linux.cc",
|
|
@@ -3189,6 +3188,12 @@
|
|
"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 = [
|
|
@@ -3393,6 +3398,7 @@
|
|
"src/snapshot/embedded-file-writer.h",
|
|
"src/snapshot/mksnapshot.cc",
|
|
]
|
|
+ libs = ["execinfo"]
|
|
|
|
configs = [ ":internal_config" ]
|
|
|