aboutsummaryrefslogtreecommitdiff
path: root/lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-04-02 20:31:18 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-04-02 20:31:18 +0000
commitd4582029d51d8c34cac13144bf1d75175175ab16 (patch)
treec3e7067532e09768b5c85830400983db59d62588 /lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk
parentd34590035d66eb10742d3b338b928e5c7c460823 (diff)
downloadports-d4582029d51d8c34cac13144bf1d75175175ab16.tar.gz
ports-d4582029d51d8c34cac13144bf1d75175175ab16.zip
lang/spidermonkey78: fix build on powerpc with LLVM 13
Disable RUST_BACKTRACE on powerpc to fix libunwind crash.
Diffstat (limited to 'lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk')
-rw-r--r--lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk b/lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk
new file mode 100644
index 000000000000..305aa3df68c4
--- /dev/null
+++ b/lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk
@@ -0,0 +1,10 @@
+--- config/makefiles/rust.mk.orig 2022-04-02 10:37:19 UTC
++++ config/makefiles/rust.mk
+@@ -171,7 +171,6 @@ export LIBCLANG_PATH=$(MOZ_LIBCLANG_PATH)
+ export CLANG_PATH=$(MOZ_CLANG_PATH)
+ export PKG_CONFIG
+ export PKG_CONFIG_ALLOW_CROSS=1
+-export RUST_BACKTRACE=full
+ export MOZ_TOPOBJDIR=$(topobjdir)
+
+ # Set COREAUDIO_SDK_PATH for third_party/rust/coreaudio-sys/build.rs