summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bootstrap.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bootstrap.cc b/src/bootstrap.cc
index 0604527..bb2d45f 100644
--- a/src/bootstrap.cc
+++ b/src/bootstrap.cc
@@ -48,6 +48,12 @@ const std::string& ctor::configuration::get(const std::string& key, const std::s
return s;
}
+ if(key == ctor::cfg::host_ar && std::getenv("AR"))
+ {
+ static std::string s = std::getenv("AR");
+ return s;
+ }
+
if(key == ctor::cfg::builddir && std::getenv("BUILDDIR"))
{
static std::string s = std::getenv("BUILDDIR");