Page MenuHomePhabricator

depends: enable lto support for Apple's ld64
ClosedPublic

Authored by Fabien on Jan 5 2021, 12:04.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC9e3969ba97ca: depends: enable lto support for Apple's ld64
Summary
Note that this does not _enable_ lto by default in any way, only hooks
up the machinery for -flto to work correctly.

enable-lto-support is explicitly used for pinned-clang because we know
it works. It is neither enabled nor disabled in the external clang case
so that it can be auto-detected.

Backport of core PR19530.

Test Plan
./contrib/teamcity/build-configurations.py build-osx

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable