mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-03 05:02:18 +00:00
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
|
local i
|
||||||
msg "Cleaning built packages..."
|
msg "Cleaning built packages..."
|
||||||
for i in $pkgname $subpackages; do
|
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"
|
rm -f "$PKGDEST/$p.apk" "$PKGDEST/$p.src.tar.gz"
|
||||||
done
|
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 CXXFLAGS="$CFLAGS"
|
||||||
|
export CPPFLAGS="$CFLAGS"
|
||||||
|
|
||||||
export PATH=:/usr/i386-gentoo-linux-uclibc/binutils-bin/2.18:$PATH
|
export PATH=:/usr/i386-gentoo-linux-uclibc/binutils-bin/2.18:$PATH
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user