mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
build: Correct guix_system on musl libc distros.
* m4/guix.m4 (GUIX_SYSTEM_TYPE): Add linux-musl* case. This prevents the macro from mis-parsing the host OS, which causes breakage when building from source. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
5864fc3380
commit
8e3dfb3d6d
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [
|
|||
linux-gnu*)
|
||||
# For backward compatibility, strip the `-gnu' part.
|
||||
guix_system="$machine_name-linux";;
|
||||
linux-musl*)
|
||||
guix_system="$machine_name-linux";;
|
||||
gnu*)
|
||||
# Always use i586 for GNU/Hurd.
|
||||
guix_system="i586-gnu";;
|
||||
|
|
Loading…
Reference in a new issue