summaryrefslogtreecommitdiff
path: root/libraries/pjsip
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-01 01:02:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-03 07:59:45 +0700
commit8b13e647fdb9b21bb0787e59a67a2d35e7f93635 (patch)
treee560beb3580c1e5efa5e032d9592b0dc3ca3b216 /libraries/pjsip
parent70016c34fccaf9c94d9d39b78446f0915c644a0b (diff)
downloadslackbuilds-8b13e647fdb9b21bb0787e59a67a2d35e7f93635.tar.gz
libraries/pjsip: Fix build on x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/pjsip')
-rw-r--r--libraries/pjsip/pjsip.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/pjsip/pjsip.SlackBuild b/libraries/pjsip/pjsip.SlackBuild
index 0c81cee071..ce812b8e54 100644
--- a/libraries/pjsip/pjsip.SlackBuild
+++ b/libraries/pjsip/pjsip.SlackBuild
@@ -41,10 +41,10 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ SLKCFLAGS="-O2 -march=native -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=native -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"