commit f244b91ece48c45887b549ba9784e0dc2c8d34a7
parent 50c929db97582164502bc83785a887cd2bcb0e8e
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 14 Aug 2018 10:18:47 +0200
Use -std=c11, Logswan requires a C11 compiler for libmaxminddb
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -5,7 +5,7 @@
# https://www.logswan.org #
# #
# Created: 2015-05-31 #
-# Last Updated: 2018-08-05 #
+# Last Updated: 2018-08-14 #
# #
# Logswan is released under the BSD 2-Clause license. #
# See LICENSE file for details. #
@@ -52,7 +52,7 @@ endif()
SET(GEOIP2DIR ${CMAKE_INSTALL_PREFIX}/share/GeoIP2 CACHE PATH "Path to GeoIP2 databases")
-add_definitions(-Wall -Wextra -std=c99 -pedantic)
+add_definitions(-Wall -Wextra -std=c11 -pedantic)
add_definitions(-DGEOIP2DIR="${GEOIP2DIR}/")
add_executable(logswan ${SRC} ${DEPS})