We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e0cf43 commit 503a066Copy full SHA for 503a066
cmake/compiler-flags.cmake
@@ -52,7 +52,10 @@ SET(CMAKE_MODULE_LINKER_FLAGS
52
53
if(CMAKE_INTERPROCEDURAL_OPTIMIZATION)
54
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
55
- set(LIST -fforce-emit-vtables -fwhole-program-vtables -fstrict-vtable-pointers)
+ set(LIST )
56
+ list(APPEND LIST -fno-force-emit-vtables)
57
+ list(APPEND LIST -fno-whole-program-vtables)
58
+ list(APPEND LIST -fno-strict-vtable-pointers)
59
add_compile_options("$<$<COMPILE_LANGUAGE:C,CXX>:${LIST}>")
60
endif()
61
0 commit comments