Skip to content

Commit

Permalink
Add 'no-delete-null-pointer-checks' to CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
rozhuk-im committed Apr 16, 2022
1 parent 0009c19 commit e254782
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
endif()


try_c_flag(PIPE "-pipe")
try_c_flag(PIPE "-pipe")
try_c_flag(NO_DEL_NULL_PTR_CHKS "-fno-delete-null-pointer-checks")

# Process with warn flags.
if (NOT CMAKE_C_OPT_FLAGS AND ENABLE_FULL_DEBUG)
Expand Down

0 comments on commit e254782

Please sign in to comment.