Commit 524f5ee1 authored by Florent Castelli's avatar Florent Castelli Committed by Brad King

Android: Set compiler target platform when compiling ASM with Clang

Closes: #16535
parent c628fd2f
Pipeline #41832 passed with stage
include(Platform/Android-Clang)
__android_compiler_clang(ASM)
......@@ -35,7 +35,9 @@ include(Platform/Android-Common)
include(Platform/Android/abi-${CMAKE_ANDROID_ARCH_ABI}-Clang)
macro(__android_compiler_clang lang)
__android_compiler_common(${lang})
if(NOT "x${lang}" STREQUAL "xASM")
__android_compiler_common(${lang})
endif()
if(NOT CMAKE_${lang}_COMPILER_TARGET)
set(CMAKE_${lang}_COMPILER_TARGET "${_ANDROID_ABI_CLANG_TARGET}")
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment