aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 05:32:47 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:26:48 +0000
commit3d142c9faf8deb947902c32a25d539df7371b953 (patch)
tree8bd72c2b029e6d45a919e843a8ef59b12877d41c /libraries
parenta3b94d71a5f92e8934a0bb37a12343aeb57c85b4 (diff)
libraries/libtubo0: Remove template comments, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libtubo0/libtubo0.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/libraries/libtubo0/libtubo0.SlackBuild b/libraries/libtubo0/libtubo0.SlackBuild
index 3e21e03aa6431..a7d061ed0a58d 100644
--- a/libraries/libtubo0/libtubo0.SlackBuild
+++ b/libraries/libtubo0/libtubo0.SlackBuild
@@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -83,11 +83,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-# Strip binaries and libraries
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
-# Compress man pages
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