summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatteo Mattei2017-04-12 16:56:16 +0200
committerMatteo Mattei2017-04-12 16:56:16 +0200
commit43d9d58e46d2c3e5d7c45347993c6d7d807e5edf (patch)
tree1ed6b060bd08bf3078c1913e308821f5cafb0bdf
parent788c2b24d4acb40c72bf9af9ea8d5f8e03827ab1 (diff)
downloadaur-43d9d58e46d2c3e5d7c45347993c6d7d807e5edf.tar.gz
disable compiler optimizations as reported by amish
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5710742fdbf..9c273bfe3e3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = php-pam
pkgdesc = This extension provides PAM (Pluggable Authentication Modules) integration in PHP.
pkgver = 1.0.3
- pkgrel = 4
+ pkgrel = 5
url = http://pecl.php.net/package/PAM
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 57e63b29099..9d3060682a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=php-pam
_extname=pam
pkgver=1.0.3
-pkgrel=4
+pkgrel=5
pkgdesc="This extension provides PAM (Pluggable Authentication Modules) integration in PHP."
arch=('i686' 'x86_64')
url="http://pecl.php.net/package/PAM"
@@ -18,6 +18,8 @@ md5sums=('2dfd378a76021245050333cd4d49ed96' '9582d5f0476e486f2c3084940f1abd86' '
build() {
patch -p0 < ../zend.patch
cd "${_extname}-${pkgver}"
+ export CFLAGS="$CFLAGS -O0"
+ export CXXFLAGS="$CXXFLAGS -O0"
phpize
./configure --prefix=/usr
make