summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4b516fef539..99e9f62f22c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -51,7 +51,9 @@ prepare() {
build() {
cd "${srcdir}/${_gitname}/builders/cmake"
- cmake -DCRTMPSERVER_INSTALL_PREFIX=/usr
+ cmake \
+ -DCMAKE_CXX_FLAGS="-std=c++03 -Wno-c++11-compat" \
+ -DCRTMPSERVER_INSTALL_PREFIX=/usr
make -j1
}