diff options
-rw-r--r-- | Jamfile.jam | 2 | ||||
-rw-r--r-- | tests/autotest-local.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Jamfile.jam b/Jamfile.jam index e3e5e9b..2a56740 100644 --- a/Jamfile.jam +++ b/Jamfile.jam @@ -15,7 +15,7 @@ if ( ! $(toolset) ) {
if ( $(UNIX) )
{
- toolset = "gcc" ;
+ toolset = "gcc" [ Shell "gcc -dumpversion" ] ;
}
else
{
diff --git a/tests/autotest-local.pl b/tests/autotest-local.pl index ebe785d..0bb55a6 100644 --- a/tests/autotest-local.pl +++ b/tests/autotest-local.pl @@ -17,7 +17,7 @@ sub permute sub gcctoolset
{
- return 'gcc' . `gcc -dumpversion`;
+ return 'gcc' . chomp(`gcc -dumpversion`);
}
$fast = (shift eq 'fast');
|