Blame SOURCES/bacula-multilib.patch

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