multimedia/farsight2: Switch to i586.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Woodfall 2018-03-27 12:33:02 +00:00 committed by Willy Sudiarto Raharjo
parent c194f9e891
commit 11c746cbf0
2 changed files with 7 additions and 9 deletions

View file

@ -1,6 +1,6 @@
Farsight Audio/Video Communications Framework
The Farsight project is an effort to create a framework to deal with all
known audio/video conferencing protocols. On one side it offers a generic
The Farsight project is an effort to create a framework to deal with all
known audio/video conferencing protocols. On one side it offers a generic
API that makes it possible to write plugins for different streaming protocols
and on the other side it offers an API for clients to use those plugins.
and on the other side it offers an API for clients to use those plugins.

View file

@ -24,12 +24,12 @@
PRGNAM=farsight2
VERSION=${VERSION:-0.0.31}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?87) 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"
@ -69,8 +69,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
#automake
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \