Blame SOURCES/bacula-multilib.patch

46d793
diff --git a/src/host.h.in b/src/host.h.in
46d793
index 3fdbb05..1b3e684 100644
46d793
--- a/src/host.h.in
46d793
+++ b/src/host.h.in
46d793
@@ -30,7 +30,25 @@
46d793
  *
46d793
  */
46d793
 
46d793
-#define HOST_OS  "@host@@post_host@"
46d793
+#if defined(__x86_64__)
46d793
+#define HOST_OS  "x86_64-redhat-linux-gnu"
46d793
+#elif defined(__i386__)
46d793
+#define HOST_OS  "i386-redhat-linux-gnu"
46d793
+#elif defined(__ppc64__) || defined(__powerpc64__)
46d793
+#define HOST_OS  "powerpc64-redhat-linux-gnu"
46d793
+#elif defined(__ppc__) || defined(__powerpc__)
46d793
+#define HOST_OS  "powerpc-redhat-linux-gnu"
46d793
+#elif defined(__s390x__)
46d793
+#define HOST_OS  "s390x-ibm-linux-gnu"
46d793
+#elif defined(__s390__)
46d793
+#define HOST_OS  "s390-ibm-linux-gnu"
46d793
+#elif defined(__sparc__) && defined(__arch64__)
46d793
+#define HOST_OS  "x86_64-redhat-linux-gnu"
46d793
+#elif defined(__sparc__)
46d793
+#define HOST_OS  "i386-redhat-linux-gnu"
46d793
+#elif defined(__aarch64__)
46d793
+#define HOST_OS  "aarch64-redhat-linux-gnu"
46d793
+#endif
46d793
 #define BACULA   "@BACULA@"
46d793
 #define DISTNAME "@DISTNAME@"
46d793
 #define DISTVER  "@DISTVER@"