diff options
author | Fernando Lopez Jr <fernando.lopezjr@gmail.com> | 2018-10-03 09:47:26 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-10-06 07:25:17 +0700 |
commit | 424fde79194f30dfd815857bd626414f45f711ac (patch) | |
tree | 65e2ec4c7c9783f9a817e09b95e0d8e1622b6df6 /development/arm-gdb/arm-gdb.SlackBuild | |
parent | 24de7485bbfb968cccf77f7cd339779ccb916d85 (diff) | |
download | slackbuilds-424fde79194f30dfd815857bd626414f45f711ac.tar.gz |
development/arm-gdb: Updated for version 8.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/arm-gdb/arm-gdb.SlackBuild')
-rw-r--r-- | development/arm-gdb/arm-gdb.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/development/arm-gdb/arm-gdb.SlackBuild b/development/arm-gdb/arm-gdb.SlackBuild index 51a364471f..ab718c309f 100644 --- a/development/arm-gdb/arm-gdb.SlackBuild +++ b/development/arm-gdb/arm-gdb.SlackBuild @@ -25,7 +25,7 @@ # Written by thorsten <thorsten (dot) johannvorderbrueggen (at) t-online (dot) de> PRGNAM=arm-gdb -VERSION=${VERSION:-8.1} +VERSION=${VERSION:-8.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -81,12 +81,15 @@ CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \ --localstatedir=/var \ --infodir=/usr/info \ --mandir=/usr/man \ + --program-prefix="arm-none-eabi-" \ + --program-suffix="" \ --build=$ARCH-slackware-linux \ --target="arm-none-eabi" \ --enable-languages="c,c++" \ --enable-interwork \ --enable-multilib \ --disable-nls \ + --disable-libssp \ --with-python=/usr/bin/python \ --with-system-gdbinit=/etc/gdb/gdbinit @@ -94,15 +97,14 @@ make make install DESTDIR=$PKG # Remove stuff that would replace files in Slackware's gdb package +rm -rf $PKG/usr/man/ +rm -rf $PKG/usr/info/ rm -rf $PKG/usr/share/ -rm -rf $PKG/usr/info +rm -rf $PKG/usr/include/ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION for file in COPYING* ChangeLog MAINTAINERS README*; do cp ../gdb-$VERSION/$file $PKG/usr/doc/$PRGNAM-$VERSION |