From 61b3084e4a74ea798aeb122e5b1a8afa509771b8 Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Thu, 6 Dec 2018 14:27:17 -0800 Subject: [PATCH] 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. --- tools/builder/core.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/builder/core.sh b/tools/builder/core.sh index 64688d17c..1c48af26c 100644 --- a/tools/builder/core.sh +++ b/tools/builder/core.sh @@ -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*) :