mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
build: Correctly determine the system type for GNU/Hurd systems.
* m4/guix.m4 (GUIX_SYSTEM_TYPE): Add case for gnu.
This commit is contained in:
parent
d06df41dfb
commit
4ed40a3e6c
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,9 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [
|
|||
linux-gnu*)
|
||||
# For backward compatibility, strip the `-gnu' part.
|
||||
guix_system="$machine_name-linux";;
|
||||
gnu*)
|
||||
# Always use i586 for GNU/Hurd.
|
||||
guix_system="i586-gnu";;
|
||||
*)
|
||||
# Strip the version number from names such as `gnu0.3',
|
||||
# `darwin10.2.0', etc.
|
||||
|
|
Loading…
Reference in a new issue