Hi.
I want to compile a single archlinux arm package on my x86 archlinux host, as I have plenty of cores, ram and storage there.
I do not want to compile on my arm devices them selves, nor do I want distcc in my compilation process.
What is the general way to tell makepkg on x86 to compile for aarch64 and how does it work with all the arm dependencies that my package might night during building or to run?
I considered the following wiki pages:
https://wiki.archlinux.org/title/Cross- ... guidelines
Here the wiki tells about changing the PKGBUILD file by changing variables? I would prefer to keep the PKGBUILD unchanged and control my target architecture by environment variables or arguments to makepkg (-si)
https://archlinuxarm.org/wiki/Distcc_Cross-Compiling
But I want to compile locally on my powerful x86 machine without any other machine interfering.
https://archlinux.org/packages/communit ... x-gnu-gcc/
How to use this compiler with makepkg?