Skip to content

Commit

Permalink
try ignore warning on release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
AviaAv committed Sep 30, 2024
1 parent 4865942 commit a39b5af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMake/unix_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ macro(os_set_flags)
set(ADDITIONAL_COMPILER_FLAGS "-Wformat -Wformat-security -fPIC -fcf-protection=none -mfunction-return=thunk -mindirect-branch=thunk -mindirect-branch-register -fstack-protector")
endif()
set(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -pie")

set(ADDITIONAL_COMPILER_FLAGS "${ADDITIONAL_COMPILER_FLAGS} -Wno-error=stringop-overflow")

string(FIND "${CMAKE_CXX_FLAGS}" "-D_FORTIFY_SOURCE" _index)
if (${_index} EQUAL -1) # Define D_FORTIFY_SOURCE is undefined
Expand Down

0 comments on commit a39b5af

Please sign in to comment.