2022-11-07 13:43:14 +08:00
|
|
|
# Copyright (c) 2022 Google LLC
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
# Since lld is a drop in replacement for ld, we can just use ld's flags
|
|
|
|
include(${ZEPHYR_BASE}/cmake/linker/ld/${COMPILER}/linker_flags.cmake OPTIONAL)
|
2023-02-25 09:39:07 +08:00
|
|
|
|
|
|
|
set_property(TARGET linker PROPERTY no_position_independent "${LINKERFLAGPREFIX},--no-pie")
|
2023-06-15 18:35:13 +08:00
|
|
|
|
|
|
|
set_property(TARGET linker PROPERTY partial_linking "-r")
|