From dfdb15d9c2badaebfd6a047b303b687ff251256a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 30 Nov 2015 20:54:25 +0200 Subject: build: Fix detection of ARM systems. Reported by Andreas Enge . This fixes a regression introduced in 968ae903. * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add extra square braquets around armv[7-9] pattern. --- m4/guix.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4') 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 -- cgit 1.4.1