mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02: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:
committed by
Ludovic Courtès
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
Block a user