Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage1/fakeroot/DESCR
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-07 20:24:25 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-07 20:24:25 +0100
commit02f1ee2c3618d62934193784c279cc4df96fa2be (patch)
treedeefadf39e8192b73b9d1e5d8c0ebcd1da4e3b69 /i486-stage1/fakeroot/DESCR
parentcf39bd9c44faccb301e655c6ba0cd36fdaae1f41 (diff)
building up to gcc
Diffstat (limited to 'i486-stage1/fakeroot/DESCR')
-rw-r--r--i486-stage1/fakeroot/DESCR11
1 files changed, 11 insertions, 0 deletions
diff --git a/i486-stage1/fakeroot/DESCR b/i486-stage1/fakeroot/DESCR
new file mode 100644
index 0000000..8557ab8
--- /dev/null
+++ b/i486-stage1/fakeroot/DESCR
@@ -0,0 +1,11 @@
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
+
+# disable makedepends and take out po4a
+sed -i "/makedepends=/s/po4a//" PKGBUILD
+sed -i 's@\(cd doc\)@#\1@g' PKGBUILD
+sed -i 's@\(po4a\)@#\1@g' PKGBUILD
+
+# we have no ld.so.conf, so we can ignore this:
+#/tmp/alpm_va2bmk/.INSTALL: line 2: usr/bin/ldconfig: No such file or directory
+#error: command failed to execute correctly