commit 87f7c2f630edd4acaec5ccd5a9e6e8d852f4ee7a
parent ebd5133864c4756a3fa2de02dd4e8d2d7f711b27
Author: Frederic Cambus <fred@statdns.com>
Date: Mon, 8 Feb 2021 17:35: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
@@ -50,7 +50,6 @@ if(NOT HAVE_PLEDGE)
set (SRC ${SRC} compat/pledge.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(statzone ${SRC})