summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Devlamynck2017-02-27 06:56:33 +0100
committerXavier Devlamynck2017-02-27 06:56:33 +0100
commitae5e3ca8ba5d5bec3294a8a2599c972259a27c39 (patch)
tree31162b76643baea01419dd0f94788460832bf725
parent94f6709790e16ec41287c941c0bab868f4ea234b (diff)
downloadaur-ae5e3ca8ba5d5bec3294a8a2599c972259a27c39.tar.gz
Add CXXFLAGS for x86 builds
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d17505f6e3..7ce8506aae4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Jan 26 15:08:36 UTC 2017
+# Mon Feb 27 05:56:10 UTC 2017
pkgbase = pjproject
pkgdesc = Open source SIP stack and media stack
pkgver = 2.6
- pkgrel = 1
+ pkgrel = 2
url = http://www.pjsip.org/
install = pjproject.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 14eac9ac1a2..7a0d4d56fbf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pjproject
pkgver=2.6
-pkgrel=1
+pkgrel=2
pkgdesc="Open source SIP stack and media stack"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.pjsip.org/"
@@ -17,7 +17,7 @@ sha256sums=('2f5a1da1c174d845871c758bd80fbb580fca7799d3cfaa0d3c4e082b5161c7b4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- export CXXFLAGS="${CXXFLAGS} -fPIC"
+ export CXXFLAGS="${CXXFLAGS} -fPIC -msse4.1"
export CFLAGS="${CXXFLAGS}"
./configure --prefix=/usr --with-external-speex --with-external-srtp --with-external-pa --with-external-gsm --disable-oss --enable-shared --disable-opencore-amr --disable-v4l2 --disable-video --disable-sound
echo "#define PJ_HAS_IPV6 1" >> "${srcdir}/${pkgname}-${pkgver}/pjlib/include/pj/config_site.h"