Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage1/binutils/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/binutils/DESCR
parentcf39bd9c44faccb301e655c6ba0cd36fdaae1f41 (diff)
building up to gcc
Diffstat (limited to 'i486-stage1/binutils/DESCR')
-rw-r--r--i486-stage1/binutils/DESCR8
1 files changed, 8 insertions, 0 deletions
diff --git a/i486-stage1/binutils/DESCR b/i486-stage1/binutils/DESCR
new file mode 100644
index 0000000..cfb98d7
--- /dev/null
+++ b/i486-stage1/binutils/DESCR
@@ -0,0 +1,8 @@
+# prepare configure for cross-compilation
+sed -i "/--prefix=\/usr/ a \ --host=$TARGET_ARCH --build=$BUILD_ARCH \\\\" PKGBUILD
+
+# TODO: this should work with glibc-shim providing glibc, but doesn't?
+sed -i "/depends=/s/glibc/glibc-shim/" PKGBUILD
+
+# git is still there as build dependency, not needed
+sed -i "/makedepends=/s/git//" PKGBUILD