@rekoil: Technically aarch64
is not on the supported arch list but if you want to compile it there the easiest way would be:
diff --git a/PKGBUILD b/PKGBUILD
index caec419..8d2851f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -43,6 +43,7 @@ build() {
# Some tests fail with these enabled
CFLAGS=${CFLAGS/,-D_GLIBCXX_ASSERTIONS/}
+ CFLAGS=${CFLAGS/armv8-a/armv8-a+crypto}
CXXFLAGS="${CFLAGS}"
meson build "${meson_args[@]}"
The explanation is that the abseil
subproject defines properly the march
if it detects you are in ARM architecture but meson then adds the CXXFLAGS
from makepkg.conf after whatever the projects definitions and that makes the march
set back to the one from makepkg.conf
. Visible here:
[..] -march=armv8-a+crypto -march=armv8-a [..]
-march=armv8-a+crypto
: from abseil
subproject
-march=armv8-a
: from makepkg.conf
Pinned Comments
artafinde commented on 2022-01-26 09:15 (UTC) (edited on 2022-01-29 10:24 (UTC) by artafinde)
If the build fails:
SRCPKGDEST
directoryThere's a package build already which you can try out from my repo.
falconindy commented on 2020-05-31 15:35 (UTC)
FAQ:
PATH
handled by/etc/profile.d/perlbin.sh
makepkg -A
. The "any" architecture is reserved for packages with architecture independent files (and compiled C++ is not).