Skip to content
Snippets Groups Projects
Commit a6241a05 authored by Natanael Copa's avatar Natanael Copa
Browse files

fix bug in abuild cleanpkg. set default CHOST

parent a1cbe221
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment