Skip to content

Commit ff90a35

Browse files
committed
rust: NetBSD i386 builds no longer need compat80
Related to (but doesn't entirely address) PR pkg/59626 and PR pkg/59833.
1 parent abc93d4 commit ff90a35

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

lang/rust/Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.354 2026/02/12 01:35:36 gutteridge Exp $
1+
# $NetBSD: Makefile,v 1.355 2026/02/12 01:43:00 gutteridge Exp $
22

33
DISTNAME= rustc-1.91.1-src
44
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -766,12 +766,11 @@ stage0-bootstrap: install
766766

767767
## Issues specific to: bootstrap AND NetBSD follow
768768

769-
# rust i386 and sparc64 bootstraps are built for 8.0
769+
# rust sparc64 bootstraps are built for 8.0
770770
# and still depend on libstdc++.so.8.
771771
# Pull in compat80 on 9.x and newer.
772-
.if (${MACHINE_PLATFORM:MNetBSD-*-i386} || \
773-
${MACHINE_PLATFORM:MNetBSD-*-sparc64}) \
774-
&& empty(OS_VERSION:M8.*)
772+
# XXX is this still correct?
773+
.if ${MACHINE_PLATFORM:MNetBSD-*-sparc64} && empty(OS_VERSION:M8.*)
775774
TOOL_DEPENDS+= compat80>=0:../../emulators/compat80
776775
.endif
777776

0 commit comments

Comments
 (0)