summaryrefslogtreecommitdiffstats
path: root/clang/examples
diff options
context:
space:
mode:
authorLuke Cheeseman <luke.cheeseman@arm.com>2018-03-21 12:05:19 +0000
committerLuke Cheeseman <luke.cheeseman@arm.com>2018-03-21 12:05:19 +0000
commit14cfb0de5d8252d6f7951117b1fdd1d9f4d86ffe (patch)
treeed8f73a86aa18597e0f6271ad0aed4c6ffbd193c /clang/examples
parent212227ed100a915f88c616e08e5f7466c3a875c2 (diff)
downloadbcm5719-llvm-14cfb0de5d8252d6f7951117b1fdd1d9f4d86ffe.tar.gz
bcm5719-llvm-14cfb0de5d8252d6f7951117b1fdd1d9f4d86ffe.zip
clang-interpreter example cmake fix
Add in a space when appending the export to the linker options. Without the space the export is appended onto whatever the last link option was, which might be a file. llvm-svn: 328092
Diffstat (limited to 'clang/examples')
-rw-r--r--clang/examples/clang-interpreter/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/examples/clang-interpreter/CMakeLists.txt b/clang/examples/clang-interpreter/CMakeLists.txt
index c5ab076fc1c..0d132807c43 100644
--- a/clang/examples/clang-interpreter/CMakeLists.txt
+++ b/clang/examples/clang-interpreter/CMakeLists.txt
@@ -34,7 +34,7 @@ if (MSVC)
# Is this a CMake bug that even with export_executable_symbols, Windows
# needs to explictly export the type_info vtable
set_property(TARGET clang-interpreter
- APPEND_STRING PROPERTY LINK_FLAGS /EXPORT:??_7type_info@@6B@)
+ APPEND_STRING PROPERTY LINK_FLAGS " /EXPORT:??_7type_info@@6B@")
endif()
function(clang_enable_exceptions TARGET)
OpenPOWER on IntegriCloud