diff options
author | Alexandre Bouvier | 2022-05-19 17:26:13 +0200 |
---|---|---|
committer | Alexandre Bouvier | 2022-05-19 17:26:13 +0200 |
commit | 3ba5ef689c9a0677e779f92a9d1e658344024b9e (patch) | |
tree | ed99a562b54f5d4638c928c4105dda91fedd4ef2 | |
parent | 73855ed211a9d85942be8eff8e26f40e51e5ce86 (diff) | |
download | aur-3ba5ef689c9a0677e779f92a9d1e658344024b9e.tar.gz |
update to 5.r213.g2779f248
* fix build on gcc 12?
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ # Maintainer: Alexandre Bouvier <contact@amb.tf> _pkgname=dynarmic pkgname=$_pkgname-git -pkgver=5.r209.g5e95a231 +pkgver=5.r213.g2779f248 pkgrel=1 pkgdesc="An ARM dynamic recompiler" arch=('x86_64') @@ -28,8 +28,12 @@ pkgver() { git describe --long --tags | sed 's/^r//;s/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + sed -i '/std::array types/s/static constexpr/const/' $_pkgname/tests/cpu_info.cpp +} + build() { - CXXFLAGS+=" -ffat-lto-objects" + CXXFLAGS+=" -ffat-lto-objects -Wno-array-bounds" cmake -S $_pkgname -B build \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=None \ |