pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/rust
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Jul 16 09:35:37 UTC 2020
Modified Files:
pkgsrc/lang/rust: cross.mk
Log Message:
rust: Update cross instructions for illumos.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/rust/cross.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/rust/cross.mk
diff -u pkgsrc/lang/rust/cross.mk:1.2 pkgsrc/lang/rust/cross.mk:1.3
--- pkgsrc/lang/rust/cross.mk:1.2 Wed Jul 8 14:46:14 2020
+++ pkgsrc/lang/rust/cross.mk Thu Jul 16 09:35:37 2020
@@ -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.
#
-#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
+#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