summaryrefslogtreecommitdiff
path: root/Jamfile.jam
diff options
context:
space:
mode:
Diffstat (limited to 'Jamfile.jam')
-rw-r--r--Jamfile.jam3
1 files changed, 2 insertions, 1 deletions
diff --git a/Jamfile.jam b/Jamfile.jam
index 2a56740..31e7aa6 100644
--- a/Jamfile.jam
+++ b/Jamfile.jam
@@ -15,7 +15,8 @@ if ( ! $(toolset) )
{
if ( $(UNIX) )
{
- toolset = "gcc" [ Shell "gcc -dumpversion" ] ;
+ local GCCVERSION = [ Shell "gcc -dumpversion" ] ;
+ toolset = "gcc"$(GCCVERSION) ;
}
else
{