summaryrefslogtreecommitdiff
path: root/lang/rust/Makefile
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2024-06-23 16:45:44 +0200
committerMikael Urankar <mikael@FreeBSD.org>2024-06-23 16:45:44 +0200
commit0f41de8c96a213fc443a4594575b1439770935fb (patch)
tree47e61be3a0734354782b818da356a6d7e4ecdf41 /lang/rust/Makefile
parentfinance/ktoblzcheck: Update bankdata (diff)
lang/rust: reintroduce EXTRA_PATCHES for specific ARCH
It was dropped in 988dc662364d9ab3d7cea82c642068a27b0c1254 but it's still needed. Reported by: mandree,mmel
Diffstat (limited to '')
-rw-r--r--lang/rust/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index f3019bd23342..6c4c26477814 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -122,6 +122,10 @@ _COMPONENTS+= rustc-dev-${_PACKAGE_VERS}-${_RUST_TARGET}
_COMPONENTS+= rust-docs-${_PACKAGE_VERS}-wasm32-unknown-unknown rust-docs-json-${_PACKAGE_VERS}-wasm32-unknown-unknown
.endif
+.if exists(${PATCHDIR}/${ARCH}${BOOTSTRAPS_SUFFIX})
+EXTRA_PATCHES+= ${PATCHDIR}/${ARCH}${BOOTSTRAPS_SUFFIX}
+.endif
+
.ifdef QEMU_EMULATING
IGNORE= fails to build with qemu-user-static
.endif