summaryrefslogtreecommitdiff
path: root/i486-stage1/glibc
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-08 09:41:18 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-08 09:41:18 +0100
commit88d8a775066ea4d80fa5fcc140a70c95489a1274 (patch)
tree6d290ee0a1c1faed716e558f26e59e0fcf9b11f4 /i486-stage1/glibc
parent0488b164de85e2fe8dc0bd67c3a0c3dfe9343a10 (diff)
downloadbootstrap32-88d8a775066ea4d80fa5fcc140a70c95489a1274.tar.xz
added glibc
Diffstat (limited to 'i486-stage1/glibc')
-rw-r--r--i486-stage1/glibc/DESCR17
1 files changed, 17 insertions, 0 deletions
diff --git a/i486-stage1/glibc/DESCR b/i486-stage1/glibc/DESCR
new file mode 100644
index 0000000..0183d96
--- /dev/null
+++ b/i486-stage1/glibc/DESCR
@@ -0,0 +1,17 @@
+# prepare configure for cross-compilation
+sed -i "s@/configure\"@/configure\" --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
+
+# disable multilib, we are on 32-bit only
+sed -i 's@--enable-multi-arch@--disable-multi-arch@g' PKGBUILD
+sed -i "/makedepends=/s/lib32-gcc-libs//g" PKGBUILD
+sed -i "/pkgname/s/lib32-glibc//g" PKGBUILD
+
+# change bug reporting
+sed -i 's@https://bugs.archlinux.org/@https://bugs.archlinux32.org/@g' PKGBUILD
+
+# git for release checkouts, a bad idea IMHO, current git+https is commented out in trunk anyway
+sed -i "/makedepends=/s/git//" PKGBUILD
+
+# no gd for memory profiles
+sed -i "/makedepends=/s/gd//" PKGBUILD
+