From 4ed40a3e6ca030573ded52233bd9e72dcdb85697 Mon Sep 17 00:00:00 2001 From: Manolis Ragkousis Date: Sat, 26 Mar 2016 16:53:40 +0200 Subject: build: Correctly determine the system type for GNU/Hurd systems. * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add case for gnu. --- m4/guix.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'm4') diff --git a/m4/guix.m4 b/m4/guix.m4 index 949ae4ca7c..6d8ec2e4e0 100644 --- a/m4/guix.m4 +++ b/m4/guix.m4 @@ -74,6 +74,9 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [ linux-gnu*) # For backward compatibility, strip the `-gnu' part. guix_system="$machine_name-linux";; + gnu*) + # Always use i586 for GNU/Hurd. + guix_system="i586-gnu";; *) # Strip the version number from names such as `gnu0.3', # `darwin10.2.0', etc. -- cgit v1.2.3