summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2018-08-21 12:13:06 -0400
committerBen Gamari <ben@smart-cactus.org>2018-08-21 18:52:42 -0400
commit23774c98f1368b41515cbd5223b87ea6dbf644e1 (patch)
tree3846a357233cd40fe03bff724e53f4522d18bf3f /mk
parent09c1d5afba655a2427a448a9933bebe7d13b696b (diff)
downloadhaskell-23774c98f1368b41515cbd5223b87ea6dbf644e1.tar.gz
function-section: enable on windows
gc-sections was onced observed to be slow on Windows, which is the only reason it's not enabled yet. However, it seems to be better now. Test Plan: ./validate Reviewers: bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie, carter GHC Trac Issues: #15051 Differential Revision: https://phabricator.haskell.org/D4916
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 11050120d4..e4a79a1d71 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -365,7 +365,7 @@ SplitObjs = $(if $(and $(filter YES,$(SupportsSplitObjs)),\
# This is not supported on Darwin (where you can use subsections-via-symbols
# instead) and Windows is disabled until we figure the linking performance
# issues related to BFD out. (See #11445, #12913 and related tickets.)
-OsSupportsSplitSections=$(if $(filter $(TargetOS_CPP),mingw32 darwin),NO,YES)
+OsSupportsSplitSections=$(if $(filter $(TargetOS_CPP),darwin),NO,YES)
SupportsSplitSections=$(if $(and $(filter YES,$(OsSupportsSplitSections)),\
$(filter YES,$(LdIsGNULd))),YES,NO)
SplitSections ?= $(SupportsSplitSections)