summaryrefslogtreecommitdiff
path: root/hadrian/bindist
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 /hadrian/bindist
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 'hadrian/bindist')
-rw-r--r--hadrian/bindist/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/hadrian/bindist/Makefile b/hadrian/bindist/Makefile
index e9b1ce1cf7..bac7011a84 100644
--- a/hadrian/bindist/Makefile
+++ b/hadrian/bindist/Makefile
@@ -121,6 +121,7 @@ lib/settings :
@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)")' >> $@