termux-packages/packages/ghc/mk-config.mk.in.patch

16 lines
360 B
Diff

--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -547,9 +547,9 @@
# why no LD=@LD@ ?
LD_STAGE0 = @LD_STAGE0@
-LD_STAGE1 = $(LD)
-LD_STAGE2 = $(LD)
-LD_STAGE3 = $(LD)
+LD_STAGE1 = $(TERMUX_LD)
+LD_STAGE2 = $(TERMUX_LD)
+LD_STAGE3 = $(TERMUX_LD)
# Cross-compiling options
# See Note [CrossCompiling vs Stage1Only]