commit d38be2859384c10499bdae89bc25e766d789b895
parent 5a0760e0dc6716f47403816632301e1930a30c8e
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 14 Feb 2021 21:30:49 +0100
Stop forcing FORTIFY_SOURCE=2, it should be package builders decision.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -44,7 +44,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(ansilove ${SRC})