From 58d3a0522e03c1f0e486dc1d0fa8dec06a1ce5b5 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sun, 18 Oct 2009 15:52:13 -0700 Subject: gcc-opt.pl: use gcc-opt-x86.pl for x86_64 as well Signed-off-by: Steven Noonan --- crawl-ref/source/util/gcc-opt.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/util/gcc-opt.pl') diff --git a/crawl-ref/source/util/gcc-opt.pl b/crawl-ref/source/util/gcc-opt.pl index 5ed4e48f64..5981876984 100755 --- a/crawl-ref/source/util/gcc-opt.pl +++ b/crawl-ref/source/util/gcc-opt.pl @@ -28,7 +28,7 @@ my $arch = `uname -m`; # # Matches ix86, i386, i486, i586, i686 # -my $pattern = "i([x3-6])86"; +my $pattern = "i([x3-6])86|x86_64"; if ($arch =~ $pattern) { system("util/gcc-opt-x86.pl $gcc"); exit 0 -- cgit v1.2.3-54-g00ecf