From ff82da05598eac3c4c1e908bf74935310bdfef81 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Sat, 27 Oct 2018 18:22:46 +0000 Subject: Sat Oct 27 18:22:46 UTC 2018 d/rust-1.30.0-x86_64-1.txz: Upgraded. l/gdbm-1.18.1-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_14-x86_64-1.txz: Upgraded. l/mozilla-nss-3.40-x86_64-1.txz: Upgraded. x/libevdev-1.6.0-x86_64-1.txz: Upgraded. --- source/d/rust/rust.SlackBuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'source/d/rust/rust.SlackBuild') diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild index bc84333be..cfc085ddb 100755 --- a/source/d/rust/rust.SlackBuild +++ b/source/d/rust/rust.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=rust SRCNAM="${PKGNAM}c" -VERSION=${VERSION:-1.29.2} +VERSION=${VERSION:-1.30.0} BUILD=${BUILD:-1} # Set this to YES to build with the system LLVM, or NO to use the bundled LLVM. @@ -34,9 +34,9 @@ BUILD=${BUILD:-1} SYSTEM_LLVM=${SYSTEM_LLVM:-NO} # Bootstrap variables (might not be kept updated for latest Rust): -RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.28.0} -RSTAGE0_DIR=${RSTAGE0_DIR:-2018-08-02} -CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.29.0} +RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.29.2} +RSTAGE0_DIR=${RSTAGE0_DIR:-2018-10-12} +CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.30.0} CSTAGE0_DIR=${CSTAGE0_DIR:-$RSTAGE0_DIR} # Automatically determine the architecture we're building on: @@ -52,6 +52,11 @@ if [ -z "$ARCH" ]; then fi unset MARCH +# For compiling i686 under an x86_64 kernel: +if [ "$(uname -m)" = "x86_64" -a "$(file -L /usr/bin/gcc | grep 80386 | grep 32-bit)" != "" ]; then + ARCH=i686 +fi + # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information # could be useful to other scripts. -- cgit v1.2.3