diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-01 08:46:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-01 08:46:12 +0000 |
commit | 11d9a7d6018fd13587259edd1030a608e9f85449 (patch) | |
tree | 3f2ebaaa05700bc60e5bb984d00dfffd5d1ad921 | |
parent | ed89c1760d76ea530bd792e51058b7d660729ff3 (diff) | |
download | abuild-11d9a7d6018fd13587259edd1030a608e9f85449.tar.gz abuild-11d9a7d6018fd13587259edd1030a608e9f85449.tar.bz2 abuild-11d9a7d6018fd13587259edd1030a608e9f85449.tar.xz abuild-11d9a7d6018fd13587259edd1030a608e9f85449.zip |
abuild: set and export a default CC
seems like configure thinks we are crosscompiling unless we set CC when
--build and --host are specified.
-rwxr-xr-x | abuild.in | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1912,6 +1912,9 @@ fi [ -z "$CBUILD" ] && CBUILD="$CHOST" [ -z "$CTARGET" ] && CTARGET="$CHOST" +# set a default CC +export ${CC:=gcc} + cd "$startdir" || die . "$APKBUILD" |