summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/callcatchEnv.Set.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/solenv/bin/callcatchEnv.Set.sh b/solenv/bin/callcatchEnv.Set.sh
index 63bf0fbab192..0dacfd79a57b 100644
--- a/solenv/bin/callcatchEnv.Set.sh
+++ b/solenv/bin/callcatchEnv.Set.sh
@@ -1,6 +1,7 @@
-CC="callcatcher $CC"
-CXX="callcatcher $CXX"
+CC="callcatcher ${CC:-gcc}"
+CXX="callcatcher ${CXX:-g++}"
+AR="callarchive ${AR:-ar}"
+#old-school ones, can go post-gbuildification is complete
LINK="callcatcher $CXX"
-LIBMGR="callarchive $AR"
-AR="callarchive $AR"
-export CC CXX LINK LIBMGR AR
+LIBMGR="callarchive ${LIBMGR:-ar}"
+export CC CXX AR LINK LIBMGR