зеркало из https://github.com/microsoft/clang-1.git
Fix LIBCLANG_LINK_FLAGS for Darwin.
The previous syntax created a list with the usual semicolon as separator, which breaks the link command. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127579 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
2e2468e2d2
Коммит
6656457a0a
|
@ -38,8 +38,8 @@ if( LLVM_ENABLE_PIC )
|
||||||
DEFINE_SYMBOL _CINDEX_LIB_)
|
DEFINE_SYMBOL _CINDEX_LIB_)
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
set(LIBCLANG_LINK_FLAGS "-Wl,-compatibility_version -Wl,1"
|
set(LIBCLANG_LINK_FLAGS
|
||||||
" -Wl,-dead_strip -Wl,-seg1addr -Wl,0xE0000000")
|
"-Wl,-compatibility_version -Wl,1 -Wl,-dead_strip -Wl,-seg1addr -Wl,0xE0000000")
|
||||||
set_target_properties(libclang
|
set_target_properties(libclang
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
LINK_FLAGS "${LIBCLANG_LINK_FLAGS}"
|
LINK_FLAGS "${LIBCLANG_LINK_FLAGS}"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче