pkgsrc-WIP-changes archive

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

rust: reduce diff for cross.mk by adding Illumos ...from main pkgsrc.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Sat Nov 20 16:01:29 2021 +0100
Changeset:	953e527a1f2a610a0d57077b022616688b0579e3

Modified Files:
	rust/cross.mk

Log Message:
rust: reduce diff for cross.mk by adding Illumos
...from main pkgsrc.

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

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

diffstat:
 rust/cross.mk | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diffs:
diff --git a/rust/cross.mk b/rust/cross.mk
index 8555f0a223..76c1b66a8b 100644
--- a/rust/cross.mk
+++ b/rust/cross.mk
@@ -55,3 +55,20 @@
 
 # May be required when cross-building on NetBSD
 #MAKE_ENV+=		OPENSSL_DIR=/usr
+
+#
+# Cross-compile illumos target.  The host is identical, it's just the target
+# that is renamed from x86_64-sun-solaris to x86_64-unknown-illumos.
+#
+#TARGET=		x86_64-unknown-illumos
+#
+# Use these variables for "cross-compiling" from x86_64-sun-solaris.
+#
+#CONFIGURE_ARGS+=	--set=target.${TARGET}.llvm-config=${LLVM_CONFIG_PATH}
+#CONFIGURE_ARGS+=	--host=${TARGET}
+#CONFIGURE_ARGS+=	--target=${TARGET}
+#
+# Set this variable when using a native x86_64-unknown-illumos bootstrap, as
+# the build still defaults to x86_64-sun-solaris based on uname.
+#
+#CONFIGURE_ARGS+=	--build=${TARGET}


Home | Main Index | Thread Index | Old Index