diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-08 11:10:42 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 09:35:59 +0700 |
commit | 50595793659b244bf77e581d7dff35c88a4ad215 (patch) | |
tree | c7099faf6bf39f3afc190c5de745510beea87893 /desktop/rsl | |
parent | e4ce7ac80644994598df6669624478e7768eb5e7 (diff) | |
download | slackbuilds-50595793659b244bf77e581d7dff35c88a4ad215.tar.gz |
desktop/rsl: Use libtrpc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/rsl')
-rw-r--r-- | desktop/rsl/rsl.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/rsl/rsl.SlackBuild b/desktop/rsl/rsl.SlackBuild index 8b482bf7d0..df9fe510a3 100644 --- a/desktop/rsl/rsl.SlackBuild +++ b/desktop/rsl/rsl.SlackBuild @@ -13,7 +13,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -31,8 +31,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" @@ -64,7 +64,7 @@ find -L . \ sed -i 's|\$LEXLIB||' configure.ac autoreconf -ivf -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -I/usr/include/tirpc -Wl,-ltirpc" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |