commit c6b8457680e5cb6bf516fcffdbea29aeca9ac5d2
parent 85e9c91b4f73dd2f3d0998cf7093a33b7a2a5c6e
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 14 Feb 2021 11:45:24 +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://www.logswan.org
#
# Created: 2015-05-31
-# Last Updated: 2020-10-24
+# Last Updated: 2021-02-14
#
# Logswan is released under the BSD 2-Clause license
# See LICENSE file for details
@@ -68,7 +68,6 @@ set(GEOIP2DIR ${CMAKE_INSTALL_PREFIX}/share/dbip
CACHE PATH "Path to GeoIP2 databases")
set(GEOIP2DB "dbip-country-lite.mmdb" CACHE PATH "GeoIP2 database file")
-set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -D_FORTIFY_SOURCE=2")
add_definitions(-D_GNU_SOURCE -Wall -Wextra -std=c11 -pedantic)
add_definitions(-DGEOIP2DIR="${GEOIP2DIR}/")
add_definitions(-DGEOIP2DB="${GEOIP2DB}")