Page MenuHomePhabricator

[cmake] Fix -Wunused-command-line-argument with clang
ClosedPublic

Authored by Fabien on Mon, Dec 2, 21:59.

Details

Reviewers
tobias_ruck
Group Reviewers
Restricted Project
Commits
rABC68549714ac4e: [cmake] Fix -Wunused-command-line-argument with clang
Summary

This especially happen for -fstack-clash-protection which is not detected as unused. See https://gitlab.kitware.com/cmake/cmake/-/issues/21998.

Test Plan

Run the guix osx build and check for no warning

Diff Detail

Repository
rABC Bitcoin ABC
Branch
fix_unused_arg_warning
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31485
Build 62467: Build Diffbuild-clang · build-debug · build-diff · build-clang-tidy · build-without-wallet
Build 62466: arc lint + arc unit