diff options
Diffstat (limited to 'code/unix/Cons_gcc.pm')
-rwxr-xr-x | code/unix/Cons_gcc.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/unix/Cons_gcc.pm b/code/unix/Cons_gcc.pm index 41df3fd..485d1a3 100755 --- a/code/unix/Cons_gcc.pm +++ b/code/unix/Cons_gcc.pm @@ -10,7 +10,7 @@ sub get_gcc_version { my @ret; my ($CC) = @_; - my $version=`$CC --version | head -1`; + my $version=`$CC --version | head -n 1`; chop($version); my $machine=`$CC -dumpmachine`; chop($machine); |