HomePhabricator

[CMAKE] Add a check_linker_flag function

Description

[CMAKE] Add a check_linker_flag function

Summary:
Separate the check of the flag from its addition. This has the
beneficial side-effect to discard the need for removing the Werror
flag from CMAKE_REQUIRED_FLAGS, since its scope is now reduced.

There is no change in behavior.

Test Plan:

ninja check

Run the Gitian builds

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, deadalnix, jasonbcox

Subscribers: jasonbcox

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

Details

Provenance
FabienAuthored on Dec 10 2019, 10:58
fpelliccioniPushed on Jan 20 2020, 17:26
Reviewer
Restricted Project
Differential Revision
D4961: [CMAKE] Add a check_linker_flag function
Parents
rSTAGING25dd8a720622: [cmake] Refactor native build cmake generation
Branches
Unknown
Tags
Unknown