me
/
guix
Archived
1
0
Fork 0

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
Antero Mejr 2023-02-01 20:25:04 +00:00 committed by Ludovic Courtès
parent 5864fc3380
commit 8e3dfb3d6d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 0 deletions

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