summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsof <unknown>1997-05-27 06:01:00 +0000
committersof <unknown>1997-05-27 06:01:00 +0000
commitde414c827e940c56f3c577967b44a9da0f8e6174 (patch)
treef87be5b4d8fcaa3761d99440ab665a3c1bfaf2b7
parent21a17156ce5b2e492be4babd61619f58d304975f (diff)
downloadhaskell-de414c827e940c56f3c577967b44a9da0f8e6174.tar.gz
[project @ 1997-05-27 06:01:00 by sof]
Added #define with complete cpu-manufacturer-os trip to generated config.h
-rw-r--r--ghc/includes/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/ghc/includes/Makefile b/ghc/includes/Makefile
index 563ae50139..cd5a8f2482 100644
--- a/ghc/includes/Makefile
+++ b/ghc/includes/Makefile
@@ -55,6 +55,9 @@ $(H_CONFIG) :
@echo >> $@
@echo "#define $(HostOS_CPP)_HOST_OS 1" >> $@
@echo "#define $(HostOS_CPP)_TARGET_OS 1" >> $@
+ @echo "#ifndef $(HostPlaform_GNU)_TARGET_OS " >> $@
+ @echo "#define $(HostPlaform_GNU)_TARGET_OS 1" >> $@
+ @echo "#endif " >> $@
@echo "#define $(HostOS_CPP)_BUILD_OS 1" >> $@
@echo >> $@
@echo "#define $(HostVendor_CPP)_HOST_VENDOR 1" >> $@