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 dbb3357 commit 561edb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -20,7 +20,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 561edb7

Please sign in to comment.