mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 13:27:09 +00:00
OHOS: Add linker configuration files
Since commit1e35163ae8, the WHOLE_ARCHIVE feature is defined in the linker configuration modules. OHOS had no such files, so $<LINK_LIBRARY:WHOLE_ARCHIVE,...> failed there. Add forwarding files to the Linux linker configuration, as done for Android in commitd2997ab601. Unlike Android, fall back to LLD when the linker cannot be identified, because the OHOS SDK toolchain file links with -fuse-ld=lld.
This commit is contained in:
1 parent
98d1b9cabb
commit
6b14597177
9 files changed
+39
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
# The OHOS SDK toolchain file uses -fuse-ld=lld
|
||||
include(Platform/Linker/OHOS-LLD-ASM)
|
||||
@@ -0,0 +1,5 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
# The OHOS SDK toolchain file uses -fuse-ld=lld
|
||||
include(Platform/Linker/OHOS-LLD-C)
|
||||
@@ -0,0 +1,5 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
# The OHOS SDK toolchain file uses -fuse-ld=lld
|
||||
include(Platform/Linker/OHOS-LLD-CXX)
|
||||
@@ -0,0 +1,4 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
include(Platform/Linker/Linux-GNU-ASM)
|
||||
@@ -0,0 +1,4 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
include(Platform/Linker/Linux-GNU-C)
|
||||
@@ -0,0 +1,4 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
include(Platform/Linker/Linux-GNU-CXX)
|
||||
@@ -0,0 +1,4 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
include(Platform/Linker/Linux-LLD-ASM)
|
||||
@@ -0,0 +1,4 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
include(Platform/Linker/Linux-LLD-C)
|
||||
@@ -0,0 +1,4 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
include(Platform/Linker/Linux-LLD-CXX)
|
||||
Reference in new issue
Block a user