aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-11-30 20:54:25 +0200
committerLudovic Courtès <ludo@gnu.org>2015-12-01 00:02:54 +0200
commitdfdb15d9c2badaebfd6a047b303b687ff251256a (patch)
tree62cbe3c5fddb4aff0edb01afcbdc45ae9383c79b /m4
parent590558953b4fb514b8157a48a89bae3af3121fa0 (diff)
downloadpatches-dfdb15d9c2badaebfd6a047b303b687ff251256a.tar
patches-dfdb15d9c2badaebfd6a047b303b687ff251256a.tar.gz
build: Fix detection of ARM systems.
Reported by Andreas Enge <andreas@enge.fr>. This fixes a regression introduced in 968ae903. * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add extra square braquets around armv[7-9] pattern.
Diffstat (limited to 'm4')
-rw-r--r--m4/guix.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/guix.m4 b/m4/guix.m4
index 8e1cfa037c..1e5985b30b 100644
--- a/m4/guix.m4
+++ b/m4/guix.m4
@@ -51,7 +51,7 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [
machine_name="i686";;
amd64)
machine_name="x86_64";;
- arm|armv[7-9]*)
+ arm|armv[[7-9]]*)
# Here we want to exclude CPUs such as "armv6l". On ARMv7
# machines, we normally get "armv7l". However, in Guix, we
# configure with --build=arm-unknown-linux-gnueabihf, leading