1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/Mk/Features
Gleb Popov 37b6619345 Uses/cabal.mk: Add support for LTO feature.
Haskell code benefits greatly from splitting functions into distinct ELF
sections and then letting the linker to garbage-collect them.

devel/hs-haskell-language-server port goes from 277MiB to 176MiB in size.
net-p2p/cardano-node ports goes 302MiB -> 76.2MiB

Relevant blog post: http://brandon.si/code/linking-smaller-haskell-binaries/

Reported by:	Greg Steuck <greg@nest.cx>
2023-02-27 21:11:10 +03:00
..
bind_now.mk
debug.mk
lto.mk Uses/cabal.mk: Add support for LTO feature. 2023-02-27 21:11:10 +03:00
pie.mk
relro.mk
ssp.mk