fix bug in abuild cleanpkg. set default CHOST

This commit is contained in:
Natanael Copa 2008-11-13 10:41:29 +00:00
parent a1cbe2213b
commit a6241a05a4
2 changed files with 4 additions and 2 deletions

2
abuild
View File

@ -193,7 +193,7 @@ cleanpkg() {
local i
msg "Cleaning built packages..."
for i in $pkgname $subpackages; do
local p="$i-$pkgver-$pkgrel"
local p="$i-$pkgver-r$pkgrel"
rm -f "$PKGDEST/$p.apk" "$PKGDEST/$p.src.tar.gz"
done
}

View File

@ -1,5 +1,7 @@
export CFLAGS="-march=i486 -Os -fPIC -fstack-protector -fomit-frame-pointer"
export CHOST=i486-alpine-linux-uclibc
export CFLAGS="-march=i486 -Os -fPIC -fomit-frame-pointer"
export CXXFLAGS="$CFLAGS"
export CPPFLAGS="$CFLAGS"
export PATH=:/usr/i386-gentoo-linux-uclibc/binutils-bin/2.18:$PATH