cmake: Remove ENABLE_ARM_SHANI from bitcoin-build-config.h

`ENABLE_ARM_SHANI` is already conditionally defined for the
`bitcoin_crypto` target, so defining it in `bitcoin-build-config.h` is
redundant.
This commit is contained in:
Hennadii Stepanov
2025-05-18 16:15:46 +01:00
parent 1e900528d2
commit 028476e71f
4 changed files with 1 additions and 12 deletions

View File

@@ -614,12 +614,7 @@ fn lint_includes_build_config() -> LintResult {
"*.cpp",
"*.h",
])
.args(get_pathspecs_default_excludes())
.args([
// These are exceptions which don't use bitcoin-build-config.h, rather CMakeLists.txt adds
// these cppflags manually.
":(exclude)src/crypto/sha256_arm_shani.cpp",
]),
.args(get_pathspecs_default_excludes()),
)
.expect("grep failed");
git()