builder: set host cc for libgpg-error to gcc

Set the var CC_FOR_BUILD=gcc in the core build environment. This is used
by libgpg-error to make host build tools when cross compiling, may be
used by other things as well.
This commit is contained in:
Rafael Kitover 2018-12-06 14:27:17 -08:00
parent 00b04692ae
commit 61b3084e4a
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ export BUILD_ROOT="\${BUILD_ROOT:-$BUILD_ROOT}"
export CC="\${CC:-gcc}"
export CXX="\${CXX:-g++}"
export CC_FOR_BUILD=gcc
case "\$CC" in
ccache*)
: