summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Devlamynck2017-06-12 10:39:37 +0200
committerXavier Devlamynck2017-06-12 10:39:37 +0200
commit86d774c4cc015d1531d0d72de676c2e665029945 (patch)
treea60ae8d706d4d87fc1a6b8c767708348a98f773f
parent8355d4b9b75111a906e318b7241456c315136711 (diff)
downloadaur-86d774c4cc015d1531d0d72de676c2e665029945.tar.gz
Add DNDEBUG CFLAG
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5ec11ced775..8d4f519d779 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Feb 28 06:45:17 UTC 2017
+# Mon Jun 12 08:39:07 UTC 2017
pkgbase = pjproject
pkgdesc = Open source SIP stack and media stack
pkgver = 2.6
- pkgrel = 3
+ pkgrel = 4
url = http://www.pjsip.org/
install = pjproject.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 811021822fd..38393716519 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pjproject
pkgver=2.6
-pkgrel=3
+pkgrel=4
pkgdesc="Open source SIP stack and media stack"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.pjsip.org/"
@@ -18,7 +18,7 @@ sha256sums=('2f5a1da1c174d845871c758bd80fbb580fca7799d3cfaa0d3c4e082b5161c7b4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export CXXFLAGS="${CXXFLAGS} -fPIC -march=native"
- export CFLAGS="${CXXFLAGS}"
+ export CFLAGS="${CXXFLAGS} -DNDEBUG"
./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"
make -j1 dep