diff options
author | Adam <Adam@sigterm.info> | 2023-05-28 21:25:26 -0400 |
---|---|---|
committer | Adam <Adam@sigterm.info> | 2023-05-28 21:26:03 -0400 |
commit | 24a2c510032a4ed526090635c55945a974d6db0e (patch) | |
tree | 629d7378487a9b100caad29196c5a05da0a3123d /CMakeLists.txt | |
parent | 66f37139cba97f2bb2a490376ffc33f153900b6c (diff) |
CMakeLists.txt: remove -fno-delete-null-pointer-checks
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 518c19898..877dc204a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,9 +87,6 @@ if(CMAKE_COMPILER_IS_GNUCXX) if(GCC_VERSION LESS 4.2) message(FATAL_ERROR "Your compiler is too old to build Anope. Upgrade to GCC 4.2 or newer!") endif(GCC_VERSION LESS 4.2) - if(GCC_VERSION GREATER 6.0 OR GCC_VERSION EQUAL 6.0) - set(CXXFLAGS "${CXXFLAGS} -fno-delete-null-pointer-checks") - endif(GCC_VERSION GREATER 6.0 OR GCC_VERSION EQUAL 6.0) endif(CMAKE_COMPILER_IS_GNUCXX) # If we are using a GNU compiler (have to use CXX because it seems to fail on C), we will be able to determine it's default paths for libraries and includes |