diff options
-rw-r--r-- | etc/import/TARGETS.git2 | 3 | ||||
-rw-r--r-- | etc/import/include/git2/TARGETS.git2 | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/etc/import/TARGETS.git2 b/etc/import/TARGETS.git2 index 69bbf9ce..dc3e8fc8 100644 --- a/etc/import/TARGETS.git2 +++ b/etc/import/TARGETS.git2 @@ -94,7 +94,7 @@ , "config": { "type": "let*" , "bindings": - [ [ "TARGET_ARCH" + [ [ "check that architecture is set" , { "type": "var" , "name": "TARGET_ARCH" , "default": @@ -191,7 +191,6 @@ { "type": "env" , "vars": [ "OS" - , "TARGET_ARCH" , "USE_SYSTEM_LIBS" , "DEBUG_POOL" , "ENABLE_TRACE" diff --git a/etc/import/include/git2/TARGETS.git2 b/etc/import/include/git2/TARGETS.git2 index 29a5d269..84eb50c3 100644 --- a/etc/import/include/git2/TARGETS.git2 +++ b/etc/import/include/git2/TARGETS.git2 @@ -34,7 +34,11 @@ ] , [ "IS_32BIT" , { "type": "case" - , "expr": {"type": "var", "name": "TARGET_ARCH"} + , "expr": + { "type": "var" + , "name": "TARGET_ARCH" + , "default": {"type": "var", "name": "ARCH"} + } , "case": {"x86": true, "arm": true} } ] |