summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/lib/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/polly/lib/CMakeLists.txt b/polly/lib/CMakeLists.txt
index 1cb544ce1ab..839dce0fe7d 100644
--- a/polly/lib/CMakeLists.txt
+++ b/polly/lib/CMakeLists.txt
@@ -1,6 +1,3 @@
-# build a monolithic libLLVMPollyLib.$shlibext
-# and a thin module LLVMPolly.moduleext that links to that shared library
-
set(LLVM_NO_RTTI 1)
if (PLUTO_FOUND)
@@ -74,6 +71,8 @@ add_polly_library(Polly
${POLLY_PLUTO_FILES}
)
+# Build a monolithic Polly.a and a thin module LLVMPolly.moduleext that links to
+# that static library.
add_polly_loadable_module(LLVMPolly
Polly.cpp
)
OpenPOWER on IntegriCloud