forked from OSchip/llvm-project
Don't set LLVM_NO_DEAD_STRIP on AIX
Summary: when building plugins, as AIX has symbols in it's standard library that must be garbage collected or we will see link errors. Export lists will handle this instead on AIX. Reviewers: stevewan, sfertile, jasonliu, xingxue, DiggerLin Reviewed By: DiggerLin Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70130
This commit is contained in:
parent
f5824799f6
commit
8b2b2c08d9
|
@ -783,7 +783,7 @@ macro(add_llvm_executable name)
|
|||
llvm_update_compile_flags(${name})
|
||||
endif()
|
||||
|
||||
if (ARG_SUPPORT_PLUGINS)
|
||||
if (ARG_SUPPORT_PLUGINS AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
|
||||
set(LLVM_NO_DEAD_STRIP On)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue