aboutsummaryrefslogtreecommitdiffstats
path: root/community/aircrack-ng/altarches.patch
blob: 655eeb017ad43fa7c9ee0d7c9e8c5e1bc1fdf20c (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
From 252717588f2483a007bbd8bb6ceac3257e8c67e8 Mon Sep 17 00:00:00 2001
From: Thomas d'Otreppe <tdotreppe@aircrack-ng.org>
Date: Mon, 15 Feb 2016 05:43:40 +0000
Subject: [PATCH] Fixing Aircrack-ng compilation on ARM 64 bit.

git-svn-id: http://svn.aircrack-ng.org/trunk@2843 28c6078b-6c39-48e3-add9-af49d547ecab
---
 autocfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/autocfg b/autocfg
index 82fa156..a957ae6 100644
--- a/autocfg
+++ b/autocfg
@@ -116,7 +116,7 @@ EOF
 }
 
 case "$CC" in
-	mips-* | arm-*)
+	mips-* | arm-* | aarch64-* | ppc64* | s390*)
 		IS_CROSS=1
 		IS_X86=0
 	;;
@@ -129,7 +129,7 @@ case "$UARCH" in
 	x86_64 | amd64 | i*86*)
 		IS_X86=1
 	;;
-	*arm*)
+	*arm* | aarch64)
 		IS_ARM=1
 	;;
 	*mips*)
From 913443c9745f72899fdd75e71217dd7b3d76ce34 Mon Sep 17 00:00:00 2001
From: Thomas d'Otreppe <tdotreppe@aircrack-ng.org>
Date: Mon, 15 Feb 2016 05:46:41 +0000
Subject: [PATCH] Fixing Aircrack-ng compilation on ARM 64 bit.

git-svn-id: http://svn.aircrack-ng.org/trunk@2844 28c6078b-6c39-48e3-add9-af49d547ecab
---
 autocfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autocfg b/autocfg
index a957ae6..6848506 100644
--- a/autocfg
+++ b/autocfg
@@ -129,7 +129,7 @@ case "$UARCH" in
 	x86_64 | amd64 | i*86*)
 		IS_X86=1
 	;;
-	*arm* | aarch64)
+	*arm* | *aarch64* | ppc64* | s390*)
 		IS_ARM=1
 	;;
 	*mips*)