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 {