summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgmdev2016-12-07 09:53:03 -0400
committerjgmdev2016-12-07 09:53:03 -0400
commitdc961eceee83cbc1f6dad54b7a5e19333d8ba30d (patch)
tree0170facf70686051fbd83b0ebb99905c888c7640
parent93267f84fa386f6f04eb1fb5ae49fd8ab5e62ad8 (diff)
downloadaur-dc961eceee83cbc1f6dad54b7a5e19333d8ba30d.tar.gz
Fixed build issue by using some build flags thanks to sippeangelo.
-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
}