diff --git a/CMakeLists.txt b/CMakeLists.txt index 10496cfa..8b8eea0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ if (MSVC) set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE) else() # set(CMAKE_C_FLAGS "-Wall -Wextra -pedantic -Wconversion -std=gnu99") - set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-missing-field-initializers -Wdouble-promotion -std=gnu99 -D_GNU_SOURCE") + set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-missing-field-initializers -std=c99 -D_GNU_SOURCE") set(CMAKE_C_FLAGS_RELEASE "-O2 -ftree-vectorize -g") set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -g") if (ASAN)