Enable lto build flag #28

Closed
yochananmarqos1 wants to merge 3 commits from yochananmarqos1-master-patch-88953 into master
yochananmarqos1 commented 2022-01-05 16:12:13 +00:00 (Migrated from gitlab2.manjaro.org)
`lto` is enabled by default now in Arch's `devtools`. https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0004-lto-by-default.rst https://archlinux.org/todo/lto-fat-objects/
oberon commented 2022-01-05 16:53:41 +00:00 (Migrated from gitlab2.manjaro.org)

My take is that a new default should be adopted properly in pacman rather than patch makepkg settings via chrootbuild.

My take is that a new default should be adopted properly in [pacman](https://gitlab.manjaro.org/packages/core/pacman/-/blob/master/makepkg.conf#L94) rather than patch makepkg settings via chrootbuild.
yochananmarqos1 commented 2022-01-13 17:19:46 +00:00 (Migrated from gitlab2.manjaro.org)

added 4 commits

  • 7c0a2b28...1e1d4963 - 2 commits from branch tools/development-tools:master
  • 3014701b - Merge branch 'master' into yochananmarqos1-master-patch-88953
  • b1a0b563 - correct strip flag and enable lto for debug

Compare with previous version

added 4 commits <ul><li>7c0a2b28...1e1d4963 - 2 commits from branch <code>tools/development-tools:master</code></li><li>3014701b - Merge branch &#39;master&#39; into yochananmarqos1-master-patch-88953</li><li>b1a0b563 - correct strip flag and enable lto for debug</li></ul> [Compare with previous version](/tools/development-tools/manjaro-chrootbuild/-/merge_requests/16/diffs?diff_id=2488&start_sha=7c0a2b2857381288be46ec60c59cb5accda5536c)
yochananmarqos1 commented 2022-03-15 17:00:55 +00:00 (Migrated from gitlab2.manjaro.org)

Allan has been planning on enabling LTO in Pacman, but hasn't yet. Not sure why. Keep in mind Arch packages are built with devtools, not pacman. If any package needs LTO enabled, I'll add lto to the options array like I have with qt5-base.

Allan has been planning on enabling LTO in Pacman, but hasn't yet. Not sure why. Keep in mind Arch packages are built with `devtools`, not `pacman`. If any package needs LTO enabled, I'll add `lto` to the options array like I have with `qt5-base`.
yochananmarqos1 (Migrated from gitlab2.manjaro.org) closed this pull request 2022-03-15 17:00:56 +00:00
oberon commented 2022-06-21 09:41:03 +00:00 (Migrated from gitlab2.manjaro.org)

mentioned in merge request !32

mentioned in merge request !32
oberon commented 2022-06-21 11:51:15 +00:00 (Migrated from gitlab2.manjaro.org)

mentioned in commit 326308712b

mentioned in commit 326308712b7e2a591c07d0d204d56c0b9ea2307c

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tools/manjaro-chrootbuild!28
No description provided.