summaryrefslogtreecommitdiff
path: root/i486-stage1/binutils/DESCR
diff options
context:
space:
mode:
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