diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-01 01:02:20 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-03 07:59:45 +0700 |
commit | 8b13e647fdb9b21bb0787e59a67a2d35e7f93635 (patch) | |
tree | e560beb3580c1e5efa5e032d9592b0dc3ca3b216 /libraries/pjsip | |
parent | 70016c34fccaf9c94d9d39b78446f0915c644a0b (diff) |
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.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/pjsip/pjsip.SlackBuild b/libraries/pjsip/pjsip.SlackBuild index 0c81cee071812..ce812b8e5471e 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" |