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

`ENABLE_AVX2` 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:12:01 +01:00
parent a8e2342dca
commit 8689628e2e
3 changed files with 0 additions and 5 deletions

View File

@@ -619,7 +619,6 @@ fn lint_includes_build_config() -> LintResult {
// 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",
":(exclude)src/crypto/sha256_avx2.cpp",
":(exclude)src/crypto/sha256_x86_shani.cpp",
]),
)