summaryrefslogtreecommitdiff
path: root/i486-stage1/glibc/DESCR
blob: 2c8ee6a538f7ddcad2c1fbeeef5e6b4d08a0583a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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

# 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