summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortytan6522023-07-22 08:27:08 +0200
committertytan6522023-07-22 08:27:08 +0200
commit9830f228be4c8fbe0830552c08ba93d18c84588c (patch)
treebe2170e52395566e7d7bb5cb4d6f6c9a954401e9
parent04f6ec4d37cd1c97647e6b9bf70bdee3fde0cab1 (diff)
downloadaur-9830f228be4c8fbe0830552c08ba93d18c84588c.tar.gz
build: Add -Wno-error=dangling-reference
Yes, further needs to be done to know if the this a false positive or not
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a92a3425ea44..5c6eed1fc790 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = obs-studio-tytan652
pkgdesc = Free and open source software for video recording and live streaming. With everything except service integrations. Plus V4L2 devices by paths, my bind interface PR, and sometimes backported fixes
pkgver = 29.1.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/obsproject/obs-studio
arch = x86_64
arch = aarch64
diff --git a/PKGBUILD b/PKGBUILD
index 17a5559379d0..dddd0191cd4f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=obs-studio-tytan652
pkgver=29.1.3
-pkgrel=1
+pkgrel=2
pkgdesc="Free and open source software for video recording and live streaming. With everything except service integrations. Plus V4L2 devices by paths, my bind interface PR, and sometimes backported fixes"
arch=("x86_64" "aarch64")
url="https://github.com/obsproject/obs-studio"
@@ -136,6 +136,8 @@ prepare() {
}
build() {
+ export CXXFLAGS="$CXXFLAGS -Wno-error=dangling-reference"
+
cmake -B build -S obs-studio \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \