Blame SOURCES/bacula-multilib.patch

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