blob: 57fb3764a7f95ee07330d0431d864ddc9b30b5bd (
plain)
1
2
3
4
5
6
|
# prepare configure for cross-compilation
sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@" PKGBUILD
# http://lists.busybox.net/pipermail/buildroot/2017-September/203435.html
sed -i '/.\/configure/ i \ echo "gl_cv_func_getopt_gnu=yes" > config.cache' PKGBUILD
sed -i 's@./configure@./configure --cache-file=config.cache@g' PKGBUILD
|