summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-03-11 11:00:58 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-03-11 11:00:58 +0000
commit0b2bbce85ae2fc9ca99d9b98be57eb9a82c053fa (patch)
tree045e252135eb1fce0ed62b17b2870ecdda41aa48 /compiler/Makefile
parent21c190f4ace4e12304a17c8169b75213fb6ea1b4 (diff)
downloadhaskell-0b2bbce85ae2fc9ca99d9b98be57eb9a82c053fa.tar.gz
FIX #2832: Setting SplitObjs=NO doesn't disable -split-objs in GHC
Now ghc --info reports whether-split-objs is supported, rather than whether the libraries were built using -split-objs.
Diffstat (limited to 'compiler/Makefile')
-rw-r--r--compiler/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index de9ce9addd..18701532ca 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -246,7 +246,7 @@ $(CONFIG_HS) : $(FPTOOLS_TOP)/mk/config.mk
@echo "cHscIfaceFileVersion :: String" >> $(CONFIG_HS)
@echo "cHscIfaceFileVersion = \"$(HscIfaceFileVersion)\"" >> $(CONFIG_HS)
@echo "cSplitObjs :: String" >> $(CONFIG_HS)
- @echo "cSplitObjs = \"$(SplitObjs)\"" >> $(CONFIG_HS)
+ @echo "cSplitObjs = \"$(SupportsSplitObjs)\"" >> $(CONFIG_HS)
@echo "cGhcWithInterpreter :: String" >> $(CONFIG_HS)
@echo "cGhcWithInterpreter = \"$(GhcWithInterpreter)\"" >> $(CONFIG_HS)
@echo "cGhcWithNativeCodeGen :: String" >> $(CONFIG_HS)