Skip to content

Commit

Permalink
Merge pull request #1267 from robertgj/develop
Browse files Browse the repository at this point in the history
Fix compilation with gcc-12
  • Loading branch information
Nightwalker-87 committed Aug 29, 2022
2 parents 43498de + 8835d38 commit c2db68e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/modules/c_flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ endfunction()
add_cflag_if_supported("-Wall")
add_cflag_if_supported("-Wextra")
add_cflag_if_supported("-Wshadow")
add_cflag_if_supported("-O")
add_cflag_if_supported("-D_FORTIFY_SOURCE=2")
add_cflag_if_supported("-fstrict-aliasing")
add_cflag_if_supported("-Wundef")
Expand Down

0 comments on commit c2db68e

Please sign in to comment.