summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew O'Neill2021-11-10 21:01:27 -0500
committerAndrew O'Neill2021-11-10 21:01:27 -0500
commitbf870f31b77570bed6742c91257fc8de8893c9af (patch)
treed0a4629e972760fa0b751e6483f88f4cf014967f
parent33a723291adb3b3b5cffb20c1383bab71927d106 (diff)
downloadaur-bf870f31b77570bed6742c91257fc8de8893c9af.tar.gz
Ignore format-security errors
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 02658781887..c203ecb82f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -28,4 +28,3 @@ pkgbase = musikcube
sha256sums = 81922ec6e86c06061dc009be3ec7c4bc8e8fd5ed3bb92231dabede8bbccaf723
pkgname = musikcube
-
diff --git a/PKGBUILD b/PKGBUILD
index 5858c9b08dc..a47024b2a7b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,6 +17,9 @@ sha256sums=('81922ec6e86c06061dc009be3ec7c4bc8e8fd5ed3bb92231dabede8bbccaf723')
build() {
cd "${pkgname}-${pkgver}"
+ CFLAGS=${CFLAGS/-Werror=format-security/}
+ CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
+
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}