File: 0000_configures_fix-alpha-compilation.diff

package info (click to toggle)
regina-rexx 3.9.5%2Bdfsg1-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,152 kB
  • sloc: ansic: 62,896; sh: 3,536; lex: 2,888; yacc: 1,615; makefile: 1,322; cpp: 117
file content (29 lines) | stat: -rw-r--r-- 1,136 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: gcc flags adjustments. -m64 is not supported by alpha.
Author: Alen Zekulic <alen@nms.hr>
Forwarded: https://sourceforge.net/p/regina-rexx/support-requests/56/
Bug-Debian: http://bugs.debian.org/661883.
.
   * Fixed compilation problem on alpha (closes: #661883).

--- a/configure
+++ b/configure
@@ -3552,7 +3552,7 @@ case "$target" in
       ;;
    *linux* | *kfreebsd*-gnu*)
       mach="`uname -m`"
-      if test "$mach" = "x86_64" -o "$mach" = "ia86" -o "$mach" = "alpha" -o "$mach" = "ppc64" -o "$mach" = "s390x"; then
+      if test "$mach" = "x86_64" -o "$mach" = "ia86" -o "$mach" = "ppc64" -o "$mach" = "s390x"; then
          bitflag="64"
          osis64bit=yes
       fi
--- a/common/inclibarch.m4
+++ b/common/inclibarch.m4
@@ -67,7 +67,7 @@ case "$target" in
       ;;
    *linux* | *kfreebsd*-gnu*)
       mach="`uname -m`"
-      if test "$mach" = "x86_64" -o "$mach" = "ia86" -o "$mach" = "alpha" -o "$mach" = "ppc64" -o "$mach" = "s390x"; then
+      if test "$mach" = "x86_64" -o "$mach" = "ia86" -o "$mach" = "ppc64" -o "$mach" = "s390x"; then
          bitflag="64"
          osis64bit=yes
       fi