summaryrefslogtreecommitdiff
blob: c7d7a65bf43d0242f121dd56867fc10ce32c6f95 (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
Fix arm OS detection

https://bugs.gentoo.org/327783
https://bugzilla.mozilla.org/show_bug.cgi?id=577319
---
--- configure.in
+++ configure.in
@@ -1424,9 +1424,11 @@
     CPU_ARCH="$OS_TEST"
     ;;
 
-arm)
+arm*)
     if test "$OS_TARGET" = "WINCE"; then
         CPU_ARCH="$OS_TEST"
+    else
+        CPU_ARCH="arm"
     fi
     ;;
 esac
--- mozilla/js/src/configure.in
+++ mozilla/js/src/configure.in
@@ -1162,9 +1162,11 @@
     CPU_ARCH="$OS_TEST"
     ;;
 
-arm)
+arm*)
     if test "$OS_TARGET" = "WINCE"; then
         CPU_ARCH="$OS_TEST"
+    else
+        CPU_ARCH="arm"
     fi
     ;;
 esac