fix bug in abuild cleanpkg. set default CHOST
This commit is contained in:
parent
a1cbe2213b
commit
a6241a05a4
2
abuild
2
abuild
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue