Skip to content

Commit

Permalink
cmake: remove duplication of TOOLCHAIN_LD_FLAGS flags
Browse files Browse the repository at this point in the history
nRF Security should not duplicate Zephyr toolchain ld flags.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
(cherry picked from commit 27f1159)
  • Loading branch information
tejlmand authored and carlescufi committed Dec 5, 2024
1 parent 933b6f3 commit caf9929
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions subsys/nrf_security/cmake/extensions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit caf9929

Please sign in to comment.