From 1bf82ee6b3d2c160cc58d9cc3e55349ecf0cdd5e Mon Sep 17 00:00:00 2001
From: Adrian Sampson <adrian@radbox.org>
Date: Fri, 22 Jul 2016 12:20:36 -0400
Subject: [PATCH] Be more explicit about the need for -fno-rtti

---
 skeleton/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/skeleton/CMakeLists.txt b/skeleton/CMakeLists.txt
index ce2ee18..32cb8cd 100644
--- a/skeleton/CMakeLists.txt
+++ b/skeleton/CMakeLists.txt
@@ -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"
 )
-- 
GitLab