From 267d530da09db015dcff73f08cee091b9795aaef Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 21 Mar 2022 11:46:25 +0100 Subject: ["", "exported-just"] make "CC" flexible While our own tool is entirely written in C++, we link against libraries written in C which, in the default multi-repo setup we build from source. Therefore, the target also depends on the C compiler, not only the C++ one. Hence also allow the user to user a different compiler here as well, in the same way as they can override the C++ compiler. --- TARGETS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TARGETS') diff --git a/TARGETS b/TARGETS index 4340bb91..585e784e 100644 --- a/TARGETS +++ b/TARGETS @@ -2,7 +2,7 @@ { "type": "export" , "target": ["src/buildtool/main", "just"] , "flexible_config": - ["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH", "CXX", "AR", "ENV"] + ["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH", "CC", "CXX", "AR", "ENV"] } , "just": { "type": ["@", "rules", "CC", "configure"] -- cgit v1.2.3