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:
parent
ed89c1760d
commit
11d9a7d601
@ -1912,6 +1912,9 @@ fi
|
|||||||
[ -z "$CBUILD" ] && CBUILD="$CHOST"
|
[ -z "$CBUILD" ] && CBUILD="$CHOST"
|
||||||
[ -z "$CTARGET" ] && CTARGET="$CHOST"
|
[ -z "$CTARGET" ] && CTARGET="$CHOST"
|
||||||
|
|
||||||
|
# set a default CC
|
||||||
|
export ${CC:=gcc}
|
||||||
|
|
||||||
cd "$startdir" || die
|
cd "$startdir" || die
|
||||||
. "$APKBUILD"
|
. "$APKBUILD"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user