summaryrefslogtreecommitdiff
path: root/rts/include/ghc.mk
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-09-16 16:17:44 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-22 08:24:23 -0400
commit92257abd4b64f0496204adb19462d05c1d6475e3 (patch)
tree906a64d411ff4116482742fdaeebd64fb24df570 /rts/include/ghc.mk
parentbb37026e3547af569db6dce021b59f4d0ac70910 (diff)
downloadhaskell-92257abd4b64f0496204adb19462d05c1d6475e3.tar.gz
Link with libm dynamically (#19877)
The compiler should be independent of the target.
Diffstat (limited to 'rts/include/ghc.mk')
-rw-r--r--rts/include/ghc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/include/ghc.mk b/rts/include/ghc.mk
index 26275075bd..f44f970bb5 100644
--- a/rts/include/ghc.mk
+++ b/rts/include/ghc.mk
@@ -247,6 +247,7 @@ $(includes_SETTINGS) : rts/include/Makefile | $$(dir $$@)/.
@echo ',("target has .ident directive", "$(TargetHasIdentDirective)")' >> $@
@echo ',("target has subsections via symbols", "$(TargetHasSubsectionsViaSymbols)")' >> $@
@echo ',("target has RTS linker", "$(TargetHasRTSLinker)")' >> $@
+ @echo ',("target has libm", "$(TargetHasLibm)")' >> $@
@echo ',("Unregisterised", "$(GhcUnregisterised)")' >> $@
@echo ',("LLVM target", "$(LLVMTarget_CPP)")' >> $@
@echo ',("LLVM llc command", "$(SettingsLlcCommand)")' >> $@