diff options
| author | Mark Rowe <mark@vector35.com> | 2025-12-19 11:12:20 -0800 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-12-20 21:34:49 -0800 |
| commit | ed0f3b1b8593f6b76fbb64c53a0885073c1c1979 (patch) | |
| tree | 5d22d77ccea8bffc0619a32ed886d79d14daccf1 /arch/armv7/CMakeLists.txt | |
| parent | ba13f6ec7d0ce9a18a03a1c895fb72d18e03014a (diff) | |
Fix many of the warnings that show up when compiling with GCC 15.2
Diffstat (limited to 'arch/armv7/CMakeLists.txt')
| -rw-r--r-- | arch/armv7/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/armv7/CMakeLists.txt b/arch/armv7/CMakeLists.txt index 802bcf6a..25847dfe 100644 --- a/arch/armv7/CMakeLists.txt +++ b/arch/armv7/CMakeLists.txt @@ -43,3 +43,10 @@ if(BN_INTERNAL_BUILD) LIBRARY_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR} RUNTIME_OUTPUT_DIRECTORY ${BN_CORE_PLUGIN_DIR}) endif() + +if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") + target_compile_options(arch_armv7 PRIVATE + $<$<COMPILE_LANGUAGE:CXX>:-Wno-deprecated-enum-enum-conversion> + ) +endif() + |
