Skip to content

Commit

Permalink
_FORTIFY_SOURCE, not FORTIFY_SOURCE
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jul 1, 2021
1 parent 1968de8 commit b6b84ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Choose the build mode." FORCE)
endif()

add_compile_definitions(FORTIFY_SOURCE=2)
add_compile_definitions(_FORTIFY_SOURCE=2)
add_compile_options(-Wall -Wextra -W -Wshadow -Wformat -fexceptions)

find_package(PkgConfig REQUIRED)
Expand Down

0 comments on commit b6b84ae

Please sign in to comment.