Summary: | databases/mongodb42: add LTO option and enable it | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | ronald-lists | ||||
Priority: | --- | Flags: | ronald-lists:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Comment on attachment 222766 [details]
patch
As I can not compile test it on my hardware because LTO uses a lot of memory I will remove the default as soon as the build clusters are giving errors. (which they probably will not do as the submitter has of course tested this :-) )
Thanks! A commit references this bug: Author: pkubaj Date: Fri Feb 26 23:49:31 UTC 2021 New revision: 566642 URL: https://svnweb.freebsd.org/changeset/ports/566642 Log: databases/mongodb42: add LTO option and enable it Add a new option, for using LTO. As with mongodb44, make it the default. mongodb42 tries to used gold with LTO enabled, so explicitly tell it to use lld. PR: 253802 Approved by: ronald-lists@klop.ws (maintainer) Changes: head/databases/mongodb42/Makefile A commit references this bug: Author: pkubaj Date: Fri Feb 26 23:50:33 UTC 2021 New revision: 566643 URL: https://svnweb.freebsd.org/changeset/ports/566643 Log: databases/mongodb42: bump PORTREVISION after changing default options PR: 253802 Approved by: ronald-lists@klop.ws (maintainer) Changes: head/databases/mongodb42/Makefile |
Created attachment 222766 [details] patch Add a new option, for using LTO. As with mongodb44, make it the default. mongodb42 tries to used gold with LTO enabled, so explicitly tell it to use lld.