diff options
Diffstat (limited to 'math/openblas/files/patch-c_check')
| -rw-r--r-- | math/openblas/files/patch-c_check | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/math/openblas/files/patch-c_check b/math/openblas/files/patch-c_check new file mode 100644 index 000000000000..b471c5682e60 --- /dev/null +++ b/math/openblas/files/patch-c_check @@ -0,0 +1,20 @@ +--- c_check.orig 2012-02-05 16:25:21.000000000 +0900 ++++ c_check 2012-02-05 16:26:54.000000000 +0900 +@@ -2,7 +2,7 @@ + + # Checking cross compile + $hostos = `uname -s | sed -e s/\-.*//`; chop($hostos); +-$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch); ++$hostarch = `uname -m | sed -e s/i.86/x86/ | sed -e s/amd64/x86_64/`;chop($hostarch); + + $binary = $ENV{"BINARY"}; + +@@ -215,7 +215,7 @@ + # print $data, "\n"; + + print MAKEFILE "OSNAME=$os\n"; +-print MAKEFILE "ARCH=$architecture\n"; ++print MAKEFILE "ARCH_=$architecture\n"; + print MAKEFILE "C_COMPILER=$compiler\n"; + print MAKEFILE "BINARY32=\n" if $binformat ne bin32; + print MAKEFILE "BINARY64=\n" if $binformat ne bin64; |
