From d871d0086e39fc1606a8fc8534c1a86fadd241da Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 15 Feb 2007 07:31:05 +0000 Subject: Fix architecture detection for Athlon64 systems running Linux; a missing regexp caused configure.pl to assume it was an Athlon, which meant we tried to use -march=athlon with 64-bit code, which GCC does not like. --- configure.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.pl b/configure.pl index 1702d7e89..6c6ac01e6 100755 --- a/configure.pl +++ b/configure.pl @@ -1583,7 +1583,8 @@ sub guess_cpu_from_this $cpu = 'core2duo' if($cpuinfo =~ /intel\(r\) core\(tm\)2/); - $cpu = 'amd64' if($cpuinfo =~ /athlon64/); + $cpu = 'athlon64' if($cpuinfo =~ /athlon64/); + $cpu = 'athlon64' if($cpuinfo =~ /athlon\(tm\) 64/); $cpu = 'amd64' if($cpuinfo =~ /opteron/); # The 32-bit SPARC stuff is impossible to match to arch type easily, and -- cgit v1.2.3