diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-12-22 20:47:25 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-12-22 20:47:25 +0300 |
commit | 689702354e81148b9be2fa3b6dc4f4de8a6d102f (patch) | |
tree | b776569146f86f1c88d7381fde727914db4cc579 /freebsd/Makefile | |
parent | 19d8396411eb1216d506f30c423707de0ddd61bb (diff) | |
download | sciteco-689702354e81148b9be2fa3b6dc4f4de8a6d102f.tar.gz |
freebsd port: enabled LTO
This is not done automatically when building ports.
The FreeBSD binaries were thus the only ones without LTO.
We should prefer WITH_LTO, even once we add something like --enable-lto,
as WITH_LTO enables Clang-specific ThinLTO support.
Diffstat (limited to 'freebsd/Makefile')
-rw-r--r-- | freebsd/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile index 4283bcc..74d1aa3 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -73,6 +73,8 @@ LEXILLA_CONFIGURE_OFF= --without-lexilla MALLOC_REPLACEMENT_CONFIGURE_ON= --enable-malloc-replacement TECO_INTEGER_32_CONFIGURE_ON= --with-teco-integer=32 +WITH_LTO= yes + .include <bsd.port.pre.mk> .if ${FLAVOR} == gtk |