[llvm-commits] [llvm] r143783 - /llvm/trunk/tools/gold/CMakeLists.txt
Peter Collingbourne
peter at pcc.me.uk
Fri Nov 4 21:17:20 PDT 2011
Author: pcc
Date: Fri Nov 4 23:17:20 2011
New Revision: 143783
URL: http://llvm.org/viewvc/llvm-project?rev=143783&view=rev
Log:
Use absolute path to exportsfile in gold plugin CMake build.
(Ninja generator requirement.)
Modified:
llvm/trunk/tools/gold/CMakeLists.txt
Modified: llvm/trunk/tools/gold/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/CMakeLists.txt?rev=143783&r1=143782&r2=143783&view=diff
==============================================================================
--- llvm/trunk/tools/gold/CMakeLists.txt (original)
+++ llvm/trunk/tools/gold/CMakeLists.txt Fri Nov 4 23:17:20 2011
@@ -40,6 +40,7 @@
set_property(SOURCE gold-plugin.cpp APPEND PROPERTY
OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/exportsfile)
- target_link_libraries(LLVMgold LTO -Wl,--version-script,exportsfile)
+ target_link_libraries(LLVMgold LTO
+ -Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/exportsfile)
add_dependencies(LLVMgold gold_exports)
endif()
More information about the llvm-commits
mailing list