Patching from floam with some edits by myself:
I was working on a patch earlier to fix some more things up to be more modern, and I added a couple lines from that cleanup patch I showed you on irc. Some commented code was removed, some stuff was made to not be broke (old head usage), the makefile should install things better, and a a few GCC warnings were gagged. I also attempted to version it but you'll probably want to change that to whatever versioning rules you decide on using.
This commit is contained in:
parent
d54f831dd7
commit
8b1d93b397
5 changed files with 28 additions and 87 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue