abuild: export CC properly

This commit is contained in:
Natanael Copa 2013-09-03 14:07:43 +00:00
parent bd447a7c56
commit f525e735c2
1 changed files with 2 additions and 1 deletions

View File

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