summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2020-08-16 17:18:14 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-28 02:23:13 -0400
commitf065b6b012fb8f73689bc5c2a4904d5e6e377af8 (patch)
tree46d9289744458c7e6d97234772d5bf134590c53e /includes
parentc6f50cea42a9ffc947bf4243986663cc820b0ec8 (diff)
downloadhaskell-f065b6b012fb8f73689bc5c2a4904d5e6e377af8.tar.gz
Fix use distro toolchian
Diffstat (limited to 'includes')
-rw-r--r--includes/ghc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk
index 70733f1e2c..38addb815e 100644
--- a/includes/ghc.mk
+++ b/includes/ghc.mk
@@ -186,6 +186,9 @@ $$(includes_$1_H_PLATFORM) : includes/ghc.mk includes/Makefile | $$$$(dir $$$$@)
@echo "#define BUILD_VENDOR \"$(BuildVendor_$1_CPP)\"" >> $$@
@echo "#define HOST_VENDOR \"$(HostVendor_$1_CPP)\"" >> $$@
@echo >> $$@
+ifeq "$$(SettingsUseDistroMINGW)" "YES"
+ @echo "#define USE_INPLACE_MINGW_TOOLCHAIN 1" >> $$@
+endif
ifeq "$$(GhcUnregisterised)" "YES"
@echo "#define UnregisterisedCompiler 1" >> $$@
endif