--- CMakeLists.txt.orig 2020-10-25 16:40:08 UTC +++ CMakeLists.txt @@ -33,7 +33,7 @@ if(NOT HAVE_REALLOCARRAY) set (SRC ${SRC} compat/reallocarray.c) endif() -set(CMAKE_C_FLAGS_RELEASE "-D_FORTIFY_SOURCE=2") +set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -D_FORTIFY_SOURCE=2") add_definitions(-D_GNU_SOURCE -Wall -Wextra -std=c99 -pedantic) add_library(ansilove SHARED ${SRC} ${LOADERS})