From 19990dab59a66f59f4b759cd546e30f67f736c9a Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Wed, 4 Dec 2024 17:03:23 +0100 Subject: [PATCH] cmake: remove duplication of TOOLCHAIN_LD_FLAGS flags nRF Security should not duplicate Zephyr toolchain ld flags. Signed-off-by: Torsten Rasmussen (cherry picked from commit 27f11591d852f79ff287c35de49574e07ce98555) --- subsys/nrf_security/cmake/extensions.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/subsys/nrf_security/cmake/extensions.cmake b/subsys/nrf_security/cmake/extensions.cmake index ce49edf83119..f938e4587017 100644 --- a/subsys/nrf_security/cmake/extensions.cmake +++ b/subsys/nrf_security/cmake/extensions.cmake @@ -148,7 +148,6 @@ macro(nrf_security_add_zephyr_options lib_name) # Unsure if these are needed any more target_compile_options(${lib_name} PRIVATE ${TOOLCHAIN_C_FLAGS}) - target_ld_options(${lib_name} PRIVATE ${TOOLCHAIN_LD_FLAGS}) else() target_compile_options(${lib_name} PRIVATE "SHELL: -imacros ${ZEPHYR_AUTOCONF}") target_include_directories(${lib_name} PRIVATE @@ -184,7 +183,6 @@ macro(nrf_security_add_zephyr_options_library lib_name) # Unsure if these are needed any more target_compile_options(${lib_name} PRIVATE ${TOOLCHAIN_C_FLAGS}) - target_ld_options(${lib_name} PRIVATE ${TOOLCHAIN_LD_FLAGS}) else() target_compile_options(${lib_name} PRIVATE "SHELL: -imacros ${ZEPHYR_AUTOCONF}") target_include_directories(${lib_name} PRIVATE