diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-11-22 11:26:28 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-11-22 11:26:28 +0000 |
commit | d681f8700ad2c034d5b9dacf4e681b8e7279f6ee (patch) | |
tree | c808d7d5e623679e13b67d8e82d46ebbb0130005 /includes/ghc.mk | |
parent | a5762b71d1aaf9037d14fc706bb04976a231bf22 (diff) | |
parent | 6247b59e5d31de58ee51273916bc44ac2118240a (diff) | |
download | haskell-d681f8700ad2c034d5b9dacf4e681b8e7279f6ee.tar.gz |
merge
Diffstat (limited to 'includes/ghc.mk')
-rw-r--r-- | includes/ghc.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk index 54f613933e..7c2aac52cf 100644 --- a/includes/ghc.mk +++ b/includes/ghc.mk @@ -104,6 +104,10 @@ endif @echo "#define $(TargetVendor_CPP)_HOST_VENDOR 1" >> $@ @echo "#define BUILD_VENDOR \"$(HostVendor_CPP)\"" >> $@ @echo "#define HOST_VENDOR \"$(TargetVendor_CPP)\"" >> $@ +ifeq "$(CC_LLVM_BACKEND)" "1" + @echo >> $@ + @echo "#define llvm_CC_FLAVOR 1" >> $@ +endif @echo >> $@ @echo "/* These TARGET macros are for backwards compatibily... DO NOT USE! */" >> $@ @echo "#define TargetPlatform_TYPE $(TargetPlatform_CPP)" >> $@ |