blob: d0e0e9ba026673d5f5666acdc41170412f71d801 (
plain)
1
2
3
4
5
6
7
8
9
|
# prepare configure for cross-compilation
sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@" PKGBUILD
# no unit testing (using C 'check')
sed -i "/makedepends=/s/'check'//" PKGBUILD
# do not build test programs, they need libcheck
sed -i "s@./configure@./configure --disable-tests @" PKGBUILD
|