Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage1/xz
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage1/xz')
-rw-r--r--i486-stage1/xz/DESCR8
1 files changed, 8 insertions, 0 deletions
diff --git a/i486-stage1/xz/DESCR b/i486-stage1/xz/DESCR
new file mode 100644
index 0000000..6b043fe
--- /dev/null
+++ b/i486-stage1/xz/DESCR
@@ -0,0 +1,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