mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 17:43:57 +00:00
[libc++abi] Actually set POSITION_INDEPENDENT_CODE when building shared library
This is a bug fix from https://reviews.llvm.org/D60005. Differential Revision: https://reviews.llvm.org/D60158 llvm-svn: 357550
This commit is contained in:
parent
03e7492876
commit
1e6c931844
@ -176,7 +176,9 @@ else()
|
||||
cxxabi_object_library(cxxabi_static_objects)
|
||||
endif()
|
||||
|
||||
cxxabi_object_library(cxxabi_shared_objects POSITION_INDEPENDENT_CODE ON)
|
||||
cxxabi_object_library(cxxabi_shared_objects)
|
||||
set_target_properties(cxxabi_shared_objects PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
set(cxxabi_static_sources $<TARGET_OBJECTS:cxxabi_static_objects>)
|
||||
set(cxxabi_shared_sources $<TARGET_OBJECTS:cxxabi_shared_objects>)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user