[gnome-builder] libide: don't attach -gnu to the local system type instead of failing



commit 1e48740c3f855a309683f6bcffbc14c045074499
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Sun Mar 29 02:08:09 2015 +0800

    libide: don't attach -gnu to the local system type instead of failing
    
    Non-Linux systems usually don't need extra things such -gnu in OS part
    of system type triplet.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747187

 libide/local/ide-local-device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/local/ide-local-device.c b/libide/local/ide-local-device.c
index aaba88b..092b8c0 100644
--- a/libide/local/ide-local-device.c
+++ b/libide/local/ide-local-device.c
@@ -50,7 +50,7 @@ get_system_type (void)
 #ifdef __GLIBC__
   return g_strdup_printf ("%s-%s-%s", u.machine, os_lower, "gnu");
 #else
-# error Your platform is not yet supported.
+  return g_strdup_printf ("%s-%s", u.machine, os_lower);
 #endif
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]