summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-02 13:19:42 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-09-02 13:19:48 (GMT)
commitf1047fcb52c52023950440044bea42aa4e16587c (patch)
treeef38d4c7cbd8c5b3aca9e4233c0598ff4dd538b2
parent99b21e58e020fedc6d09a619c1a8dc2e9ea7e2c5 (diff)
parentfa7ba5fbf5c17323e5b20ceeda13b45619136790 (diff)
downloadCMake-f1047fcb52c52023950440044bea42aa4e16587c.zip
CMake-f1047fcb52c52023950440044bea42aa4e16587c.tar.gz
CMake-f1047fcb52c52023950440044bea42aa4e16587c.tar.bz2
Merge topic 'armclang-asm-defines'
fa7ba5fbf5 ARMClang: Pass defines to assembler Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Osama Moharam <osama.moharam.uw@renesas.com> Acked-by: Martin Kojtal <martin.kojtal@arm.com> Merge-request: !5175
-rw-r--r--Modules/Compiler/ARMClang-ASM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/ARMClang-ASM.cmake b/Modules/Compiler/ARMClang-ASM.cmake
index ceff3e8..6a299be 100644
--- a/Modules/Compiler/ARMClang-ASM.cmake
+++ b/Modules/Compiler/ARMClang-ASM.cmake
@@ -3,7 +3,7 @@ include(Compiler/ARMClang)
set(CMAKE_ASM_OUTPUT_EXTENSION ".o")
set(CMAKE_ASM_OUTPUT_EXTENSION_REPLACE 1)
-set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <INCLUDES> <FLAGS> -c -o <OBJECT> <SOURCE>")
+set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -c -o <OBJECT> <SOURCE>")
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS S;s;asm;msa)
__compiler_armclang(ASM)