pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rust172: turn off cross-compilation setting for NetBSD mipsel.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Tue Oct 24 15:12:06 2023 +0000
Changeset:	5a82ffe23a007de136985eb4177c74bc5570aa3d

Modified Files:
	rust172/cross.mk

Log Message:
rust172: turn off cross-compilation setting for NetBSD mipsel.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5a82ffe23a007de136985eb4177c74bc5570aa3d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust172/cross.mk | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diffs:
diff --git a/rust172/cross.mk b/rust172/cross.mk
index 0915674b7f..2984a3d058 100644
--- a/rust172/cross.mk
+++ b/rust172/cross.mk
@@ -19,10 +19,10 @@
 #CROSS_ROOT=		/u/evbarm64
 #CROSS_ROOT=		/u/evbarm64eb
 #CROSS_ROOT=		/u/i386
-CROSS_ROOT=		/u/mipsel
+#CROSS_ROOT=		/u/mipsel
 #CROSS_ROOT=		/u/riscv64
 #CROSS_ROOT=		/
-MAKE_ENV+=		CROSS_ROOT=${CROSS_ROOT}
+#MAKE_ENV+=		CROSS_ROOT=${CROSS_ROOT}
 
 # The GNU cross target designation
 #GNU_CROSS_TARGET=	armv7--netbsdelf-eabihf
@@ -32,9 +32,9 @@ MAKE_ENV+=		CROSS_ROOT=${CROSS_ROOT}
 #GNU_CROSS_TARGET=	aarch64--netbsd
 #GNU_CROSS_TARGET=	aarch64_be--netbsd
 #GNU_CROSS_TARGET=	i486--netbsdelf
-GNU_CROSS_TARGET=	mipsel--netbsd
+#GNU_CROSS_TARGET=	mipsel--netbsd
 #GNU_CROSS_TARGET=	riscv64--netbsd
-MAKE_ENV+=		GNU_CROSS_TARGET=${GNU_CROSS_TARGET}
+#MAKE_ENV+=		GNU_CROSS_TARGET=${GNU_CROSS_TARGET}
 
 # To cross-build rust, you need to specify
 # the ultimate target to built for, as well as the
@@ -48,17 +48,17 @@ MAKE_ENV+=		GNU_CROSS_TARGET=${GNU_CROSS_TARGET}
 #TARGET=		aarch64_be-unknown-netbsd
 #TARGET=		i686-unknown-netbsd
 #TARGET=		i586-unknown-netbsd
-TARGET=		mipsel-unknown-netbsd
+#TARGET=		mipsel-unknown-netbsd
 #TARGET=		riscv64gc-unknown-netbsd
 #
-SCRIPTS=		${WRKDIR}/scripts
-CONFIGURE_ARGS+=	--host=${TARGET}
-CONFIGURE_ARGS+=	--target=${TARGET}
-CONFIGURE_ARGS+=	--set=target.${TARGET}.cc=${SCRIPTS}/gcc-wrap
-CONFIGURE_ARGS+=	--set=target.${TARGET}.cxx=${SCRIPTS}/c++-wrap
-CONFIGURE_ARGS+=	--set=target.${TARGET}.linker=${SCRIPTS}/gcc-wrap
+#SCRIPTS=		${WRKDIR}/scripts
+#CONFIGURE_ARGS+=	--host=${TARGET}
+#CONFIGURE_ARGS+=	--target=${TARGET}
+#CONFIGURE_ARGS+=	--set=target.${TARGET}.cc=${SCRIPTS}/gcc-wrap
+#CONFIGURE_ARGS+=	--set=target.${TARGET}.cxx=${SCRIPTS}/c++-wrap
+#CONFIGURE_ARGS+=	--set=target.${TARGET}.linker=${SCRIPTS}/gcc-wrap
 # Pick one:
-CONFIGURE_ARGS+=	--set=target.${TARGET}.ar=${CROSS_ROOT}/tools/bin/${GNU_CROSS_TARGET}-ar
+#CONFIGURE_ARGS+=	--set=target.${TARGET}.ar=${CROSS_ROOT}/tools/bin/${GNU_CROSS_TARGET}-ar
 #CONFIGURE_ARGS+=	--set=target.${TARGET}.ar=${SCRIPTS}/ar-wrap
 
 # May be required when cross-building on NetBSD


Home | Main Index | Thread Index | Old Index