libansilove

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

commit d98d355d09581708faa76de7d1183d62c8674505
parent 18af8c3b004442ac6cbdd08920ec75493d9de26c
Author: Frederic Cambus <fred@statdns.com>
Date:   Sun, 11 Oct 2020 09:29:01 +0200

Enable FORTIFY_SOURCE level 2.

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() -add_definitions(-D_GNU_SOURCE -Wall -Wextra -std=c99 -pedantic) +add_definitions(-D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=c99 -pedantic) add_library(ansilove SHARED ${SRC} ${LOADERS}) target_link_libraries(ansilove ${GD_LIBRARIES} m)