summaryrefslogtreecommitdiff
path: root/i486-stage1/gdb/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage1/gdb/DESCR')
-rw-r--r--i486-stage1/gdb/DESCR12
1 files changed, 12 insertions, 0 deletions
diff --git a/i486-stage1/gdb/DESCR b/i486-stage1/gdb/DESCR
new file mode 100644
index 0000000..9b1b06d
--- /dev/null
+++ b/i486-stage1/gdb/DESCR
@@ -0,0 +1,12 @@
+# prepare configure for cross-compilation
+sed -i "/build/,/}/ s/.\/configure/.\/configure --host=$TARGET_ARCH --target=$TARGET_ARCH --build=$BUILD_ARCH/" PKGBUILD
+
+# disable python
+sed -i "/makedepends=/s/python//" PKGBUILD
+sed -i "/depends=/s/python//" PKGBUILD
+sed -i "s@--with-python=/usr/bin/python3@--without-python@g" PKGBUILD
+
+# disable guile
+sed -i "/makedepends=/s/guile2.0//" PKGBUILD
+sed -i "/depends=/s/guile2.0//" PKGBUILD
+sed -i "s@--with-guile=guile-2.0@--without-guile@g" PKGBUILD