summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-03-28 12:08:01 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-04-06 13:01:28 -0400
commitd2ae0a3a1a8e31e5d769f1aea95e85793043cb3a (patch)
tree37951c698d81838d84b4104936371d39e013b4b1 /rts
parent295c35c5cfda67c11222f99fb338d3cac52abac1 (diff)
downloadhaskell-d2ae0a3a1a8e31e5d769f1aea95e85793043cb3a.tar.gz
Build ar archives with -L when "joining" objects
Since there may be .o files which are in fact archives.
Diffstat (limited to 'rts')
-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 2fc14d5bef..f5a198bcdd 100644
--- a/rts/include/ghc.mk
+++ b/rts/include/ghc.mk
@@ -209,6 +209,7 @@ $(includes_SETTINGS) : rts/include/Makefile | $$(dir $$@)/.
@echo ',("ar command", "$(SettingsArCommand)")' >> $@
@echo ',("ar flags", "$(ArArgs)")' >> $@
@echo ',("ar supports at file", "$(ArSupportsAtFile)")' >> $@
+ @echo ',("ar supports -L", "$(ArSupportsDashL)")' >> $@
@echo ',("ranlib command", "$(SettingsRanlibCommand)")' >> $@
@echo ',("otool command", "$(SettingsOtoolCommand)")' >> $@
@echo ',("install_name_tool command", "$(SettingsInstallNameToolCommand)")' >> $@