cmake: tiny cleanup

This commit is contained in:
Azat Khuzhin 2022-11-12 18:56:03 +01:00
parent 56d380b9b6
commit c8c730c8dc

View File

@ -293,8 +293,6 @@ if (${GNUC})
option(EVENT__ENABLE_GCC_FUNCTION_SECTIONS "Enable gcc function sections" OFF) option(EVENT__ENABLE_GCC_FUNCTION_SECTIONS "Enable gcc function sections" OFF)
option(EVENT__ENABLE_GCC_WARNINGS "Make all GCC warnings into errors" OFF) option(EVENT__ENABLE_GCC_WARNINGS "Make all GCC warnings into errors" OFF)
set(GCC_V ${CMAKE_C_COMPILER_VERSION})
list(APPEND __FLAGS list(APPEND __FLAGS
-Wall -Wextra -Wno-unused-parameter -Wstrict-aliasing -Wstrict-prototypes -Wall -Wextra -Wno-unused-parameter -Wstrict-aliasing -Wstrict-prototypes
-Wundef -Wundef