aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxming <xmingske@gmail.com>2015-04-28 08:56:41 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-28 23:51:50 +0200
commitdad9b58f3f17337c4ec54ef89d9ac49894fd0565 (patch)
treeb14aa0b60b4a6b3984a2c755fc07c26778e71c82
parent6fc4d9c3ace79305bae15eb930216f14c7e053c1 (diff)
downloadaports-dad9b58f3f17337c4ec54ef89d9ac49894fd0565.tar.bz2
aports-dad9b58f3f17337c4ec54ef89d9ac49894fd0565.tar.xz
main/minetest: fix compile error against hiredis 0.13
-rw-r--r--main/minetest/APKBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/minetest/APKBUILD b/main/minetest/APKBUILD
index 84a11867b8..8fd6c090ea 100644
--- a/main/minetest/APKBUILD
+++ b/main/minetest/APKBUILD
@@ -36,6 +36,8 @@ prepare() {
}
build() {
+ CFLAGS="${CFLAGS} -std=c99"
+ CXXFLAGS="${CXXFLAGS} -std=c++11"
mkdir "${_builddir}"/.build_client
cd "${_builddir}"/.build_client
cmake -DCUSTOM_BINDIR=/usr/bin \