From e8671b619ca8f87c2b5eaee935b6e9ddd3e3fc34 Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Mon, 29 Jun 1998 17:07:38 +0000
Subject: [PATCH] [project @ 1998-06-29 17:07:38 by sof] #define HOST_ARCH and
 HOST_OS in locally generated config.h

---
 ghc/includes/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ghc/includes/Makefile b/ghc/includes/Makefile
index 058056c258fa..e396f4f38312 100644
--- a/ghc/includes/Makefile
+++ b/ghc/includes/Makefile
@@ -64,10 +64,12 @@ $(H_CONFIG) :
 	@echo "#define $(HostArch_CPP)_HOST_ARCH	1" >> $@
 	@echo "#define $(HostArch_CPP)_TARGET_ARCH	1" >> $@
 	@echo "#define $(HostArch_CPP)_BUILD_ARCH  	1" >> $@
+	@echo "#define HOST_ARCH			\"$(HostArch_CPP)\"" >> $@
 	@echo >> $@
 	@echo "#define $(HostOS_CPP)_HOST_OS		1" >> $@
 	@echo "#define $(HostOS_CPP)_TARGET_OS		1" >> $@  
 	@echo "#define $(HostOS_CPP)_BUILD_OS 		1" >> $@
+	@echo "#define HOST_OS 				\"$(HostOS_CPP)\"" >> $@
 ifeq "$(HostOS_CPP)" "irix"
 	@echo "#ifndef $(IRIX_MAJOR)_TARGET_OS		 " >> $@  
 	@echo "#define $(IRIX_MAJOR)_TARGET_OS		1" >> $@  
-- 
GitLab