aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 \