summaryrefslogtreecommitdiff
path: root/TARGETS
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-03-21 11:46:25 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-03-21 11:46:25 +0100
commit267d530da09db015dcff73f08cee091b9795aaef (patch)
tree6874c8fce73fe60f256a70b1e64059d09800ecc4 /TARGETS
parent05d2b65f279828df5801e6d478991778b3dbe4cc (diff)
downloadjustbuild-267d530da09db015dcff73f08cee091b9795aaef.tar.gz
["", "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.
Diffstat (limited to 'TARGETS')
-rw-r--r--TARGETS2
1 files changed, 1 insertions, 1 deletions
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"]