diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2015-12-17 12:14:53 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-12-17 12:54:31 +0100 |
commit | 109d847971691a89dab6c80b37f46dc33197b8c2 (patch) | |
tree | a0f6e827429ad8ba2963b579da930d8a424aebee /compiler/ghc.mk | |
parent | 86ad116fd73824776a6addd7b068db4358093bee (diff) | |
download | haskell-109d847971691a89dab6c80b37f46dc33197b8c2.tar.gz |
Build system: Make cGhcRtsWithLibdw flag a proper Bool
Test Plan: validate
Reviewers: austin
Reviewed By: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1642
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r-- | compiler/ghc.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk index f5c53d4c6c..9148c79030 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -102,8 +102,12 @@ endif @echo 'cGhcWithSMP = "$(GhcWithSMP)"' >> $@ @echo 'cGhcRTSWays :: String' >> $@ @echo 'cGhcRTSWays = "$(GhcRTSWays)"' >> $@ - @echo 'cGhcRtsWithLibdw :: String' >> $@ - @echo 'cGhcRtsWithLibdw = "$(GhcRtsWithLibdw)"' >> $@ + @echo 'cGhcRtsWithLibdw :: Bool' >> $@ +ifeq "$(GhcRtsWithLibdw)" "YES" + @echo 'cGhcRtsWithLibdw = True' >> $@ +else + @echo 'cGhcRtsWithLibdw = False' >> $@ +endif @echo 'cGhcEnableTablesNextToCode :: String' >> $@ @echo 'cGhcEnableTablesNextToCode = "$(GhcEnableTablesNextToCode)"' >> $@ @echo 'cLeadingUnderscore :: String' >> $@ |