aboutsummaryrefslogtreecommitdiff
path: root/development/rust/rust.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/rust/rust.SlackBuild')
-rw-r--r--development/rust/rust.SlackBuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/development/rust/rust.SlackBuild b/development/rust/rust.SlackBuild
index b4f358882e3c..c85c808a99e5 100644
--- a/development/rust/rust.SlackBuild
+++ b/development/rust/rust.SlackBuild
@@ -26,12 +26,12 @@
PRGNAM=rust
SRCNAM="${PRGNAM}c"
-VERSION=${VERSION:-1.23.0}
+VERSION=${VERSION:-1.24.0}
# src/stage0.txt
-RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.22.0}
-RSTAGE0_DIR=${RSTAGE0_DIR:-2017-11-20}
-CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.23.0}
+RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.23.0}
+RSTAGE0_DIR=${RSTAGE0_DIR:-2018-01-04}
+CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.24.0}
CSTAGE0_DIR=${CSTAGE0_DIR:-$RSTAGE0_DIR}
BUILD=${BUILD:-1}
@@ -86,7 +86,6 @@ elif [ "$ARCH" = "arm" ]; then
fi
# there is tier3 support for armv5te, but it ftbfs for me
- # https://github.com/rust-lang-nursery/compiler-builtins/pull/115
TARCH="$BARCH"
else
BARCH="$ARCH"
@@ -147,7 +146,7 @@ fi
# needed during the build, and then we'll strip the rpaths out of the
# binaries later.
-# LLVM in Slackware14.2 is now too old to build rust 1.23.0, so the rust build
+# LLVM in Slackware14.2 is now too old to build rust 1.24.0, so the rust build
# falls back to building its own
cat << EOF > config.toml
[build]
@@ -205,10 +204,6 @@ fi
if [ "$ARCH" = "arm" ] ; then
python x.py dist
else
- # README.md says gcc 4.7 / clang 3.x or later needed
- # but building fails for me with GCC 5.3 from slackware 14.2
- CC=clang \
- CXX=clang++ \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
python x.py dist