diff options
author | Pellegrino Prevete | 2022-06-14 22:25:53 +0000 |
---|---|---|
committer | Pellegrino Prevete | 2022-06-14 22:25:53 +0000 |
commit | df2f90539457ab97cedcbb445011a613beaa5df6 (patch) | |
tree | cc1b6e4559b832da4f9c2e9adf6c88e7eddb0918 /PKGBUILD | |
parent | 6c7b8d46ca95dcb863c36d29dbbeb5489a763f67 (diff) | |
download | aur-df2f90539457ab97cedcbb445011a613beaa5df6.tar.gz |
add no-format-security flag
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -22,7 +22,7 @@ source=("${pkgname}::git+${_repo}.git#tag=${pkgver}_official_release") md5sums=('SKIP') prepare() { - cd "${pkgname}/yabause" + cd "${pkgname}/yabause" || exit if [[ -d build ]]; then rm -rf build @@ -31,7 +31,9 @@ prepare() { } build() { - cd "${pkgname}/yabause/build" + export CFLAGS+=" -Wno-format -Wno-format-security" + export CXXFLAGS="${CFLAGS}" + cd "${pkgname}/yabause/build" || exit cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE='Release' \ |