bdf2sfd

BDF to SFD converter, allowing to vectorize bitmap fonts
Log | Files | Refs | README | LICENSE

commit e45015a1d1f95c09a959e157df2a2dcce30b2b76
parent a89e21c8170417e9ead081027cf83a0fbf04431f
Author: Frederic Cambus <fred@statdns.com>
Date:   Sat, 10 Oct 2020 20:58:03 +0200

Enable FORTIFY_SOURCE level 2.

Diffstat:
MCMakeLists.txt | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -4,7 +4,7 @@ # https://github.com/fcambus/bdf2sfd # # Created: 2019-11-21 -# Last Updated: 2020-06-09 +# Last Updated: 2020-10-10 # # bdf2sfd is released under the BSD 2-Clause license # See LICENSE file for details @@ -52,7 +52,7 @@ if(NOT HAVE_STRTONUM) set (SRC ${SRC} compat/strtonum.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_executable(bdf2sfd ${SRC}) install(TARGETS bdf2sfd DESTINATION ${CMAKE_INSTALL_BINDIR})