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:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-01 17:33:40 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-01 17:33:40 +0100
commitd4d48845954a13a311af53d2a881cedee0e7e27e (patch)
tree555e444eeaeb27f1bdd353e4146bc8fb2596d593 /packages-i486-stage1/tar
parent854da672db23e3a73ec8c006a042b1b3334e4b63 (diff)
building up to libarchive
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