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.
master
Ludovic Courtès 2015-11-30 20:54:25 +02:00
parent 590558953b
commit dfdb15d9c2
1 changed files with 1 additions and 1 deletions

View File

@ -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