Skip to content

Commit 668a5dc

Browse files
pdgendtfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent e9d24aa commit 668a5dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/net/sockets/http_server/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ zephyr_linker_sources(SECTIONS sections-rom.ld)
3535
zephyr_linker_section_ifdef(CONFIG_NET_SAMPLE_HTTPS_SERVICE NAME
3636
http_resource_desc_test_https_service
3737
KVMA RAM_REGION GROUP RODATA_REGION
38-
SUBALIGN Z_LINK_ITERABLE_SUBALIGN)
38+
SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN})
3939
zephyr_linker_section_ifdef(CONFIG_NET_SAMPLE_HTTP_SERVICE NAME
4040
http_resource_desc_test_http_service
4141
KVMA RAM_REGION GROUP RODATA_REGION
42-
SUBALIGN Z_LINK_ITERABLE_SUBALIGN)
42+
SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN})
4343

4444
foreach(web_resource
4545
index.html

0 commit comments

Comments
 (0)