1 2 3 4 5
# ed is needed for patch and bc SYSROOT_INSTALL=1 # prepare configure for cross-compilation sed -i "s@./configure@./configure CC=$TARGET_ARCH-gcc@" PKGBUILD