diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-11-21 10:14:44 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-11-21 12:42:45 +0100 |
commit | 2db34c397423d60b6b8c7131c954f5ae0699cad8 (patch) | |
tree | 5d7169d5253bbfd7bfd5d48e95d5abb290d94705 /etc/import/include/git2/TARGETS.git2 | |
parent | 8111618470553f0aa5e31a8f3997777930807b5a (diff) | |
download | justbuild-2db34c397423d60b6b8c7131c954f5ae0699cad8.tar.gz |
git2: sys/features.h let TARGET_ARCH default to ARCH
Diffstat (limited to 'etc/import/include/git2/TARGETS.git2')
-rw-r--r-- | etc/import/include/git2/TARGETS.git2 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/import/include/git2/TARGETS.git2 b/etc/import/include/git2/TARGETS.git2 index 8f3484e9..29a5d269 100644 --- a/etc/import/include/git2/TARGETS.git2 +++ b/etc/import/include/git2/TARGETS.git2 @@ -2,6 +2,7 @@ { "type": "configure" , "arguments_config": [ "OS" + , "ARCH" , "TARGET_ARCH" , "DEBUG_POOL" , "ENABLE_TRACE" @@ -19,7 +20,13 @@ , "config": { "type": "let*" , "bindings": - [ [ "IS_BSD" + [ [ "TARGET_ARCH" + , { "type": "var" + , "name": "TARGET_ARCH" + , "default": {"type": "var", "name": "ARCH"} + } + ] + , [ "IS_BSD" , { "type": "case" , "expr": {"type": "var", "name": "OS"} , "case": {"darwin": true, "bsd": true} |