Commit 36a599f1 authored by Björn Bergman's avatar Björn Bergman Committed by Fabio Baltieri
Browse files

cmake: mwdt assembler option for imacros



Add the -imacros property for assembler language to compensate
for changes introduced in PR #84800.

Signed-off-by: default avatarBjörn Bergman <bjorn.bergman@iar.com>
parent b432a01c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -165,6 +165,9 @@ set_compiler_property(PROPERTY coverage "")
# mwdt compiler flags for imacros. The specific header must be appended by user.
set_compiler_property(PROPERTY imacros -imacros)

# assembler compiler flags for imacros. The specific header must be appended by user.
set_property(TARGET asm PROPERTY imacros -imacros)

# Security canaries.
#no support of -mstack-protector-guard=global"
set_compiler_property(PROPERTY security_canaries -fstack-protector)