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>master
parent
5864fc3380
commit
8e3dfb3d6d
|
@ -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";;
|
||||
|
|
Reference in New Issue