abuild: set and export a default CC

seems like configure thinks we are crosscompiling unless we set CC when
--build and --host are specified.
This commit is contained in:
Natanael Copa 2013-08-01 08:46:12 +00:00
parent ed89c1760d
commit 11d9a7d601

View File

@ -1912,6 +1912,9 @@ fi
[ -z "$CBUILD" ] && CBUILD="$CHOST"
[ -z "$CTARGET" ] && CTARGET="$CHOST"
# set a default CC
export ${CC:=gcc}
cd "$startdir" || die
. "$APKBUILD"