summaryrefslogtreecommitdiff
path: root/i486-stage1
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-11 10:51:47 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-11 10:51:47 +0100
commit7f260b6ff477f6531210cda3fe2409447021e931 (patch)
treea0d0ed9a7bd9b025a16467bc16f7e4347ca7ce9a /i486-stage1
parent09c3eefebcf3cf879d11b509b70b70807066182e (diff)
downloadbootstrap32-7f260b6ff477f6531210cda3fe2409447021e931.tar.xz
added gdb
Diffstat (limited to 'i486-stage1')
-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