Debian Codegraph @

debian/patches/0000_configures_fix-alpha-compilation.diff

raw
1 Description: gcc flags adjustments. -m64 is not supported by alpha.
2 Author: Alen Zekulic <[email protected]>
3 Forwarded: https://sourceforge.net/p/regina-rexx/support-requests/56/
4 Bug-Debian: http://bugs.debian.org/661883.
5 .
6 * Fixed compilation problem on alpha (closes: #661883).
7
8 --- a/configure
9 +++ b/configure
10 @@ -3552,7 +3552,7 @@ case "$target" in
11 ;;
12 *linux* | *kfreebsd*-gnu*)
13 mach="`uname -m`"
14 - if test "$mach" = "x86_64" -o "$mach" = "ia86" -o "$mach" = "alpha" -o "$mach" = "ppc64" -o "$mach" = "s390x"; then
15 + if test "$mach" = "x86_64" -o "$mach" = "ia86" -o "$mach" = "ppc64" -o "$mach" = "s390x"; then
16 bitflag="64"
17 osis64bit=yes
18 fi
19 --- a/common/inclibarch.m4
20 +++ b/common/inclibarch.m4
21 @@ -67,7 +67,7 @@ case "$target" in
22 ;;
23 *linux* | *kfreebsd*-gnu*)
24 mach="`uname -m`"
25 - if test "$mach" = "x86_64" -o "$mach" = "ia86" -o "$mach" = "alpha" -o "$mach" = "ppc64" -o "$mach" = "s390x"; then
26 + if test "$mach" = "x86_64" -o "$mach" = "ia86" -o "$mach" = "ppc64" -o "$mach" = "s390x"; then
27 bitflag="64"
28 osis64bit=yes
29 fi