summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-11-30 10:54:10 +0000
committerSadie Powell <sadie@witchery.services>2021-11-30 11:04:19 +0000
commit754c82d047b80c30ff2f775d32e8b9b054049ebd (patch)
treeeb1abbc79af82320c34805c8282914609476a973 /CMakeLists.txt
parent17fa704278a99aeac4e59df1bf58e63d88357788 (diff)
Remove undefined behaviour around checking if this is null.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fce875abe..ba29007c7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,8 +21,6 @@ set(DEFAULT_INCLUDE_DIRS)
if(CMAKE_COMPILER_IS_GNUCXX)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.2)
message(FATAL_ERROR "Your compiler is too old to build Anope. Upgrade to GCC 4.2 or newer!")
- elseif(CMAKE_CXX_COMPILER_ID VERSION_GREATER_EQUAL 6.0)
- set(CXXFLAGS "${CXXFLAGS} -fno-delete-null-pointer-checks")
endif()
endif()