summaryrefslogtreecommitdiff
path: root/packages-i486-stage1/expat
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/expat
parent854da672db23e3a73ec8c006a042b1b3334e4b63 (diff)
downloadbootstrap32-d4d48845954a13a311af53d2a881cedee0e7e27e.tar.xz
building up to libarchive
Diffstat (limited to 'packages-i486-stage1/expat')
-rw-r--r--packages-i486-stage1/expat8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages-i486-stage1/expat b/packages-i486-stage1/expat
new file mode 100644
index 0000000..e8c1341
--- /dev/null
+++ b/packages-i486-stage1/expat
@@ -0,0 +1,8 @@
+# expat is needed for libarchive
+SYSROOT_INSTALL=1
+
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@" PKGBUILD
+
+# TODO: ./configure: line 17309: program: command not found
+# most likely a harmless error when probing for some documentation build tool