1# Copyright (c) 2022 Google LLC
2# SPDX-License-Identifier: Apache-2.0
3
4# Since lld is a drop in replacement for ld, we can just use ld's flags
5include(${ZEPHYR_BASE}/cmake/linker/ld/${COMPILER}/linker_flags.cmake OPTIONAL)
6
7set_property(TARGET linker PROPERTY no_position_independent "${LINKERFLAGPREFIX},--no-pie")
8
9set_property(TARGET linker PROPERTY partial_linking "-r")
10