summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-26 23:13:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-29 09:56:05 +0100
commitfea6627b6170a2921d3cac228f857c8bf9f70def (patch)
tree9757e7b05b2db9f30c0b70972f449d845dfc7f7e /solenv
parent012072ebd70a2180918864818f522944e46adf07 (diff)
honour AR the same as CXX/CC
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/callcatchEnv.Set.sh1
-rw-r--r--solenv/gbuild/platform/unxgcc.mk3
2 files changed, 4 insertions, 0 deletions
diff --git a/solenv/bin/callcatchEnv.Set.sh b/solenv/bin/callcatchEnv.Set.sh
index bb8e3cf2423f..bca62310ef1b 100644
--- a/solenv/bin/callcatchEnv.Set.sh
+++ b/solenv/bin/callcatchEnv.Set.sh
@@ -2,4 +2,5 @@ CC="callcatcher $CC"
CXX="callcatcher $CXX"
LINK="callcatcher $CXX"
LIBMGR="callcatcher $AR"
+AR="callcatcher $AR"
export CC CXX LINK LIBMGR
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index cb875f775b40..4234c7125012 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -47,6 +47,9 @@ endif
ifneq ($(origin CXX),default)
gb_CXX := $(CXX)
endif
+ifneq ($(origin AR),default)
+gb_AR := $(AR)
+endif
gb_OSDEFS := \
-D$(OS) \