libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit 5341d2f85085dc9ef810f68795e52a0512bf34b1
parent 9af59521c4673df0293c2ca5ee31da5768f7d76f
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 16 Nov 2020 21:54:53 +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 @@ -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})