aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pcc-libs/files/patch-configure
blob: d58a99afb4322565525a0522aa331df189e72642 (plain) (blame)
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
30
--- configure.orig	2014-12-06 10:06:59 UTC
+++ configure
@@ -1976,7 +1976,7 @@ case "$target_os" in
 	case "$target_cpu" in
 	    i?86) targmach=i386 ;;
 	    powerpc) targmach=powerpc endian=big ;;
-	    x86_64) targmach=amd64 ;;
+	    amd64) targmach=amd64 ;;
 	esac
 	;;
 
@@ -1991,7 +1991,8 @@ case "$target_os" in
 	targos=freebsd
 	case "$target_cpu" in
 	    i386) targmach=i386 ;;
-	    x86_64) targmach=amd64 ;;
+	    amd64) targmach=amd64 ;;
+	    x86_64|amd64) targmach=amd64 ;;
 	esac
 	;;
 
@@ -2000,7 +2001,7 @@ case "$target_os" in
 	case "$target_cpu" in
 	    i?86) targmach=i386 ;;
 	    powerpc*) targmach=powerpc endian=big ;;
-	    x86_64) targmach=amd64 ;;
+	    amd64) targmach=amd64 ;;
 	esac
 	;;