ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 8a1bf41382c4b441efd0e99f698f4cb3f2622756
parent 7bd3dbe35f67614f071f4889398f95855c9e1d23
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 16 Nov 2020 22:32:52 +0100

Do not override CMAKE_C_FLAGS_RELEASE when enabling FORTIFY_SOURCE.

Diffstat:
MCMakeLists.txt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -44,7 +44,7 @@ if(NOT HAVE_STRTONUM) set (SRC ${SRC} compat/strtonum.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_executable(ansilove ${SRC})