From a6241a05a47da72eb9e04ec08dbac84eaaa2a4b5 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 13 Nov 2008 10:41:29 +0000 Subject: fix bug in abuild cleanpkg. set default CHOST --- abuild | 2 +- abuild.conf | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/abuild b/abuild index 6350b27..db77da9 100755 --- a/abuild +++ b/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 } diff --git a/abuild.conf b/abuild.conf index aba818a..a14649f 100644 --- a/abuild.conf +++ b/abuild.conf @@ -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 -- cgit v1.2.3-70-g09d2