Skip to content

Commit caf9929

Browse files
tejlmandcarlescufi
authored andcommitted
cmake: remove duplication of TOOLCHAIN_LD_FLAGS flags
nRF Security should not duplicate Zephyr toolchain ld flags. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> (cherry picked from commit 27f1159)
1 parent 933b6f3 commit caf9929

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

subsys/nrf_security/cmake/extensions.cmake

-2
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ macro(nrf_security_add_zephyr_options lib_name)
148148

149149
# Unsure if these are needed any more
150150
target_compile_options(${lib_name} PRIVATE ${TOOLCHAIN_C_FLAGS})
151-
target_ld_options(${lib_name} PRIVATE ${TOOLCHAIN_LD_FLAGS})
152151
else()
153152
target_compile_options(${lib_name} PRIVATE "SHELL: -imacros ${ZEPHYR_AUTOCONF}")
154153
target_include_directories(${lib_name} PRIVATE
@@ -184,7 +183,6 @@ macro(nrf_security_add_zephyr_options_library lib_name)
184183

185184
# Unsure if these are needed any more
186185
target_compile_options(${lib_name} PRIVATE ${TOOLCHAIN_C_FLAGS})
187-
target_ld_options(${lib_name} PRIVATE ${TOOLCHAIN_LD_FLAGS})
188186
else()
189187
target_compile_options(${lib_name} PRIVATE "SHELL: -imacros ${ZEPHYR_AUTOCONF}")
190188
target_include_directories(${lib_name} PRIVATE

0 commit comments

Comments
 (0)