commit 319db652a8f07f985c236bfcf4f90948006c6262
parent 3e3280fecbac2a396744bac8a7db641cee9031e5
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 9 Feb 2021 07:48:38 +0100
Stop forcing FORTIFY_SOURCE=2, it should be package builders decision.
Diffstat:
1 file changed, 1 insertion(+), 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-10-24
+# Last Updated: 2021-02-09
#
# bdf2sfd is released under the BSD 2-Clause license
# See LICENSE file for details
@@ -51,7 +51,6 @@ if(NOT HAVE_STRTONUM)
set (SRC ${SRC} compat/strtonum.c)
endif()
-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(bdf2sfd ${SRC})