From 668a5dc55dab30fa1735e765b0cec15ef171b8bb Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Wed, 2 Oct 2024 08:44:00 +0200 Subject: [PATCH] samples: net: sockets: Update HTTP server linker with CMake variable Use the CMake variable for iterable section's subalignment instead of a global defined macro. Signed-off-by: Pieter De Gendt --- samples/net/sockets/http_server/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/net/sockets/http_server/CMakeLists.txt b/samples/net/sockets/http_server/CMakeLists.txt index ab62db054d1..b4853257c78 100644 --- a/samples/net/sockets/http_server/CMakeLists.txt +++ b/samples/net/sockets/http_server/CMakeLists.txt @@ -35,11 +35,11 @@ zephyr_linker_sources(SECTIONS sections-rom.ld) zephyr_linker_section_ifdef(CONFIG_NET_SAMPLE_HTTPS_SERVICE NAME http_resource_desc_test_https_service KVMA RAM_REGION GROUP RODATA_REGION - SUBALIGN Z_LINK_ITERABLE_SUBALIGN) + SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN}) zephyr_linker_section_ifdef(CONFIG_NET_SAMPLE_HTTP_SERVICE NAME http_resource_desc_test_http_service KVMA RAM_REGION GROUP RODATA_REGION - SUBALIGN Z_LINK_ITERABLE_SUBALIGN) + SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN}) foreach(web_resource index.html