Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages-i486-stage1/tar
diff options
context:
space:
mode:
Diffstat (limited to 'packages-i486-stage1/tar')
-rw-r--r--packages-i486-stage1/tar7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages-i486-stage1/tar b/packages-i486-stage1/tar
new file mode 100644
index 0000000..420e179
--- /dev/null
+++ b/packages-i486-stage1/tar
@@ -0,0 +1,7 @@
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
+
+# checking whether mknod can create fifo without root privileges... configure: error: in `/build/tar/src/tar-1.29':
+# configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
+# See `config.log' for more details
+sed -i 's@./configure@FORCE_UNSAFE_CONFIGURE=1 ./configure@g' PKGBUILD