diff options
Diffstat (limited to 'zephyr/cmake/linker/ld/linker_flags.cmake')
-rw-r--r-- | zephyr/cmake/linker/ld/linker_flags.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/zephyr/cmake/linker/ld/linker_flags.cmake b/zephyr/cmake/linker/ld/linker_flags.cmake index c80d1d2452..d6045ba6ed 100644 --- a/zephyr/cmake/linker/ld/linker_flags.cmake +++ b/zephyr/cmake/linker/ld/linker_flags.cmake @@ -1,7 +1,11 @@ -# Copyright 2020 The Chromium OS Authors. All rights reserved. +# Copyright 2020 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Zephyr cmake system looks into ${TOOLCHAIN_ROOT}, but we just send # this out to the copy in ${ZEPHYR_BASE}. include("${ZEPHYR_BASE}/cmake/linker/ld/linker_flags.cmake") + +# There can also be compiler specific linker options, so try to include +# our version of that also. +include("${TOOLCHAIN_ROOT}/cmake/linker/${LINKER}/${COMPILER}/linker_flags.cmake" OPTIONAL) |