diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-11-30 20:54:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-12-01 00:02:54 +0200 |
commit | dfdb15d9c2badaebfd6a047b303b687ff251256a (patch) | |
tree | 62cbe3c5fddb4aff0edb01afcbdc45ae9383c79b /m4 | |
parent | 590558953b4fb514b8157a48a89bae3af3121fa0 (diff) | |
download | guix-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.m4 | 2 |
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 |