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.
This commit is contained in:
parent
590558953b
commit
dfdb15d9c2
|
@ -51,7 +51,7 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [
|
||||||
machine_name="i686";;
|
machine_name="i686";;
|
||||||
amd64)
|
amd64)
|
||||||
machine_name="x86_64";;
|
machine_name="x86_64";;
|
||||||
arm|armv[7-9]*)
|
arm|armv[[7-9]]*)
|
||||||
# Here we want to exclude CPUs such as "armv6l". On ARMv7
|
# Here we want to exclude CPUs such as "armv6l". On ARMv7
|
||||||
# machines, we normally get "armv7l". However, in Guix, we
|
# machines, we normally get "armv7l". However, in Guix, we
|
||||||
# configure with --build=arm-unknown-linux-gnueabihf, leading
|
# configure with --build=arm-unknown-linux-gnueabihf, leading
|
||||||
|
|
Loading…
Reference in New Issue