diff options
author | Sadie Powell <sadie@witchery.services> | 2021-11-30 10:54:10 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-11-30 11:04:19 +0000 |
commit | 754c82d047b80c30ff2f775d32e8b9b054049ebd (patch) | |
tree | eb1abbc79af82320c34805c8282914609476a973 /CMakeLists.txt | |
parent | 17fa704278a99aeac4e59df1bf58e63d88357788 (diff) |
Remove undefined behaviour around checking if this is null.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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() |