diff options
author | Ian Lynagh <igloo@earth.li> | 2011-11-27 00:20:59 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-11-27 00:20:59 +0000 |
commit | 3275b7bd2a803a3adc0b952b6fbfeb738fc15a74 (patch) | |
tree | a71bc802260e464a746bd22c70f391bbb58475ca /rules | |
parent | 124bad841018d17f36b1d9dd136fb30ce30a2c2d (diff) | |
download | haskell-3275b7bd2a803a3adc0b952b6fbfeb738fc15a74.tar.gz |
Pass "--hash-size=31 --reduce-memory-overhead" to ld; fixes trac #5240
These reduce the amount of memory that ld takes when linking.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/build-package-way.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk index 00ce06572d..de1b7131e3 100644 --- a/rules/build-package-way.mk +++ b/rules/build-package-way.mk @@ -114,7 +114,7 @@ BINDIST_LIBS += $$($1_$2_GHCI_LIB) endif endif $$($1_$2_GHCI_LIB) : $$($1_$2_$3_HS_OBJS) $$($1_$2_$3_CMM_OBJS) $$($1_$2_$3_C_OBJS) $$($1_$2_$3_S_OBJS) $$($1_$2_EXTRA_OBJS) - "$$(LD)" -r -o $$@ $$(EXTRA_LD_OPTS) $$($1_$2_$3_HS_OBJS) $$($1_$2_$3_CMM_OBJS) $$($1_$2_$3_C_OBJS) $$($1_$2_$3_S_OBJS) $$($1_$2_EXTRA_OBJS) + "$$(LD)" $$(CONF_LD_LINKER_OPTS_STAGE$4) -r -o $$@ $$(EXTRA_LD_OPTS) $$($1_$2_$3_HS_OBJS) $$($1_$2_$3_CMM_OBJS) $$($1_$2_$3_C_OBJS) $$($1_$2_$3_S_OBJS) $$($1_$2_EXTRA_OBJS) ifeq "$$($1_$2_BUILD_GHCI_LIB)" "YES" # Don't bother making ghci libs for bootstrapping packages |