Skip to content
Snippets Groups Projects
Commit 1bf82ee6 authored by Adrian Sampson's avatar Adrian Sampson
Browse files

Be more explicit about the need for -fno-rtti

parent 8aabfc8c
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,8 @@ add_library(SkeletonPass MODULE
# Use C++11 to compile our pass (i.e., supply -std=c++11).
target_compile_features(SkeletonPass PRIVATE cxx_range_for cxx_auto_type)
# LLVM is (typically) built with no C++ RTTI. We need to match that.
# LLVM is (typically) built with no C++ RTTI. We need to match that;
# otherwise, we'll get linker errors about missing RTTI data.
set_target_properties(SkeletonPass PROPERTIES
COMPILE_FLAGS "-fno-rtti"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment