summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f4508afb25..35ff04cb0e 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -359,7 +359,7 @@ SplitObjs = $(if $(and $(filter YES,$(SupportsSplitObjs)),\
# This is not supported on Darwin (where you can use subsections-via-symbols
# instead) and Windows is not yet working. (See #11445 and related tickets.)
OsSupportsSplitSections=$(if $(filter $(TargetOS_CPP),mingw32 darwin),NO,YES)
-SupportsSplitSections :=$(if $(and $(filter YES,$(OsSupportsSplitSections)),\
+SupportsSplitSections=$(if $(and $(filter YES,$(OsSupportsSplitSections)),\
$(filter YES,$(LdIsGNULd))),YES,NO)
SplitSections ?= $(SupportsSplitSections)