Skip to content

Commit 08a55c8

Browse files
bjorniuppsalaphb98-MS
authored andcommitted
cmake: mwdt assembler option for imacros
Add the -imacros property for assembler language to compensate for changes introduced in PR zephyrproject-rtos#84800. Signed-off-by: Björn Bergman <[email protected]>
1 parent 89a8c63 commit 08a55c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/compiler/arcmwdt/compiler_flags.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ set_compiler_property(PROPERTY coverage "")
165165
# mwdt compiler flags for imacros. The specific header must be appended by user.
166166
set_compiler_property(PROPERTY imacros -imacros)
167167

168+
# assembler compiler flags for imacros. The specific header must be appended by user.
169+
set_property(TARGET asm PROPERTY imacros -imacros)
170+
168171
# Security canaries.
169172
#no support of -mstack-protector-guard=global"
170173
set_compiler_property(PROPERTY security_canaries -fstack-protector)

0 commit comments

Comments
 (0)