Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage1/zlib/DESCR
blob: 32df42036e6a75f678cb1fe7ea6924d52a477294 (plain)
1
2
3
4
5
6
# zlib is needed by cracklib, binutils, curl, file, libarchive, ...
SYSROOT_INSTALL=1

# prepare configure for cross-compilation
sed -i "1!N; /autoreconf.*\n/ s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@" PKGBUILD
sed -i "s@make@make TARGETMACH=$TARGET_ARCH BUILDMACH=$BUILD_ARCH CROSS=$TARGET_ARCH CC=$TARGET_ARCH-cc LD=$TARGET_ARCH-ld AS=$TARGET_ARCH-as@g" PKGBUILD