Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages-i486-stage1/xz
blob: 6b043fe3f0d6ca57f1445af302a78900ec8b6ca8 (plain)
1
2
3
4
5
6
7
8
# xz is needed for libarchive
SYSROOT_INSTALL=1

# prepare configure for cross-compilation
sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD

# with gcc 7.2 we get new errors, disable termination on warnings
sed -i 's@--enable-werror@--disable-werror@g' PKGBUILD