aboutsummaryrefslogtreecommitdiff
path: root/development/arm-gcc/arm-gcc.SlackBuild
diff options
context:
space:
mode:
authorFernando Lopez Jr <fernando.lopezjr@gmail.com>2019-08-30 06:43:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-30 06:44:29 +0700
commit2f54bb29cfca11f01827687122635e10499cfc82 (patch)
tree8faea58b030e9e611e4463df4470f6e710ee25df /development/arm-gcc/arm-gcc.SlackBuild
parenta295df2c5f9b9dd126e9a41282cb224059376536 (diff)
development/arm-gcc: Updated for version 9.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/arm-gcc/arm-gcc.SlackBuild')
-rw-r--r--development/arm-gcc/arm-gcc.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/development/arm-gcc/arm-gcc.SlackBuild b/development/arm-gcc/arm-gcc.SlackBuild
index 782ac73ba1d00..e69cacfb1d96c 100644
--- a/development/arm-gcc/arm-gcc.SlackBuild
+++ b/development/arm-gcc/arm-gcc.SlackBuild
@@ -25,7 +25,7 @@
# Written by Marek Buras <cyfr0n (at) go2 !dot pl>
PRGNAM=arm-gcc
-VERSION=${VERSION:-4.9.2}
+VERSION=${VERSION:-9.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf gcc-$VERSION arm-gcc-build-$VERSION
-tar xvf $CWD/gcc-$VERSION.tar.bz2
+tar xvf $CWD/gcc-$VERSION.tar.xz
mkdir arm-gcc-build-$VERSION
cd arm-gcc-build-$VERSION
chown -R root:root .
@@ -122,6 +122,7 @@ CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+mv $PKG/usr/lib${LIBDIRSUFFIX}/libcc* $PKG/usr/lib${LIBDIRSUFFIX}/gcc/arm-none-eabi/$VERSION/
# Remove useless stuff
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/libiberty.a
rm -rf $PKG/usr/info