diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2018-10-27 18:22:46 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-10-28 09:00:32 +0100 |
commit | ff82da05598eac3c4c1e908bf74935310bdfef81 (patch) | |
tree | a6132a2f2b73efa6e89751eddd4722a2f0860a8e /source/d/rust/rust.SlackBuild | |
parent | fcc8827f1675600216a60e5f6ff14f66b4bd6818 (diff) | |
download | current-ff82da05598eac3c4c1e908bf74935310bdfef81.tar.gz |
Sat Oct 27 18:22:46 UTC 201820181027182246
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.
Diffstat (limited to 'source/d/rust/rust.SlackBuild')
-rwxr-xr-x | source/d/rust/rust.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild index bc84333b..cfc085dd 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. |