1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 13:10: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:
Antero Mejr
2023-02-01 20:25:04 +00:00
committed by Ludovic Courtès
parent 5864fc3380
commit 8e3dfb3d6d

View File

@@ -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";;