summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2016-09-04 17:18:36 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-11 08:53:21 +0700
commit0dd6261b0e05a04675b143941d1b5650f0884626 (patch)
treead9b3cae4806ea59a46ae40021e1c507fe316a65
parent77b490f2ee06bdf3440005a8b7fa415c27c765ec (diff)
downloadslackbuilds-0dd6261b0e05a04675b143941d1b5650f0884626.tar.gz
libraries/php-memcache: Fixed build with gnu89 flag.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
-rw-r--r--libraries/php-memcache/php-memcache.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/php-memcache/php-memcache.SlackBuild b/libraries/php-memcache/php-memcache.SlackBuild
index 05a0217296..d0462adb1c 100644
--- a/libraries/php-memcache/php-memcache.SlackBuild
+++ b/libraries/php-memcache/php-memcache.SlackBuild
@@ -25,7 +25,7 @@
SRCNAM=memcache
PRGNAM=php-memcache
VERSION=${VERSION:-3.0.8}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -74,7 +74,7 @@ PHP_CONFIG=php-config
phpize
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -std=gnu89" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \