Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: Update cross instructions for illumos.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7faa89c98d7
branches:  trunk
changeset: 435821:b7faa89c98d7
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jul 16 09:35:37 2020 +0000

description:
rust: Update cross instructions for illumos.

diffstat:

 lang/rust/cross.mk |  21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 295d1407a83e -r b7faa89c98d7 lang/rust/cross.mk
--- a/lang/rust/cross.mk        Thu Jul 16 06:09:51 2020 +0000
+++ b/lang/rust/cross.mk        Thu Jul 16 09:35:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cross.mk,v 1.2 2020/07/08 14:46:14 jperkin Exp $
+# $NetBSD: cross.mk,v 1.3 2020/07/16 09:35:37 jperkin Exp $
 
 # These settings may be used to cross-build rust.
 #
@@ -50,9 +50,18 @@
 #MAKE_ENV+=            OPENSSL_DIR=/usr
 
 #
-# Cross-compile illumos target.  The host is identical, it's just the target that
-# has been renamed.
+# 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.x86_64-unknown-illumos.llvm-config=${BUILDLINK_PREFIX.llvm}/bin/llvm-config
-#CONFIGURE_ARGS+=      --host=x86_64-unknown-illumos
-#CONFIGURE_ARGS+=      --target=x86_64-unknown-illumos
+#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