phant0mas pushed a commit to branch core-updates-next
in repository guix.
commit 3196f761599e98fdf93af72bf91ebebff5adc626
Author: Manolis Ragkousis <[email protected]>
Date: Sat Mar 26 16:53:40 2016 +0200
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(+)
diff --git a/m4/guix.m4 b/m4/guix.m4
index 654789e..f919556 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.