diff --git a/elfloader-tool/CMakeLists.txt b/elfloader-tool/CMakeLists.txt index 99bf0997..f8b9792e 100644 --- a/elfloader-tool/CMakeLists.txt +++ b/elfloader-tool/CMakeLists.txt @@ -105,7 +105,7 @@ config_option( add_config_library(elfloader "${configure_string}") -add_compile_options(-D_XOPEN_SOURCE=700 -ffreestanding -Wall -Werror -W -Wextra) +add_compile_options(-D_XOPEN_SOURCE=700 -ffreestanding -Wall -Werror -W -Wextra -WShadow) set(linkerScript "${CMAKE_CURRENT_LIST_DIR}/src/arch-${KernelArch}/linker.lds") if(KernelArchRiscV) add_compile_options(-mcmodel=medany)