summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-21 14:25:10 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitd34630c1a2f4b04f3a856fd867117b9b447fdf01 (patch)
tree319901823d208ccf8cbdabf80c695deff97b6b49
parentb777fd490733c109acfaf0a015ec85b387da2e4c (diff)
downloadslackbuilds-d34630c1a2f4b04f3a856fd867117b9b447fdf01.tar.gz
development/couchdb: Fixed build failure with gcc-4.9.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r--development/couchdb/couchdb.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/couchdb/couchdb.SlackBuild b/development/couchdb/couchdb.SlackBuild
index 8b517b2516..4961643071 100644
--- a/development/couchdb/couchdb.SlackBuild
+++ b/development/couchdb/couchdb.SlackBuild
@@ -71,7 +71,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -D_DEFAULT_SOURCE" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \