Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages-i486-stage1/bzip2
diff options
context:
space:
mode:
Diffstat (limited to 'packages-i486-stage1/bzip2')
-rw-r--r--packages-i486-stage1/bzip26
1 files changed, 6 insertions, 0 deletions
diff --git a/packages-i486-stage1/bzip2 b/packages-i486-stage1/bzip2
new file mode 100644
index 0000000..9329744
--- /dev/null
+++ b/packages-i486-stage1/bzip2
@@ -0,0 +1,6 @@
+# bzip2 is needed for libarchive
+SYSROOT_INSTALL=1
+
+# prepare configure for cross-compilation
+sed -i "s@\( \+\)make@\1make CC=$TARGET_ARCH-cc RANLIB=$TARGET_ARCH-ranlib AR=$TARGET_ARCH-ar@g" PKGBUILD
+