build: Use flag -fno-semantic-interposition when using GCC

This commit is contained in:
Gabriel Ferreira
2021-11-15 01:03:54 -03:00
parent 531b99251c
commit bfc4c19bdf
2 changed files with 2 additions and 0 deletions

View File

@@ -183,6 +183,7 @@ if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
)
endif()
set(GCC TRUE)
add_definitions(-fno-semantic-interposition)
endif()
unset(below_minimum_msg)