HomePhabricator

[CMAKE] Attach the linker flags to target properties

Description

[CMAKE] Attach the linker flags to target properties

Summary:
This is achieved by using the add_link_options function instead of
appending the flags to the global CMAKE_EXE_LINKER_FLAGS variable.

Depends on D5035.

Test Plan:

ninja check

Run the Gitian builds.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5037

Details

Provenance
FabienAuthored on Jan 16 2020, 16:16
deadalnixPushed on Jan 21 2020, 21:37
Reviewer
Restricted Project
Differential Revision
D5037: [CMAKE] Attach the linker flags to target properties
Parents
rSTAGING1299f1cf2cfe: [CMAKE] Bump minimum version to 3.13
Branches
Unknown
Tags
Unknown