summaryrefslogtreecommitdiff
path: root/configurecompiler.cmake
diff options
context:
space:
mode:
authorGleb Balykov <g.balykov@samsung.com>2020-06-17 11:21:05 +0300
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>2020-06-18 13:09:14 +0900
commit1ecf6bdb4a703126af95beb6712c001e6341d2ab (patch)
tree371fecd0e5a79025992e51845acd247f1bb952c6 /configurecompiler.cmake
parent44d822061f76e1fadd249abffe20f8090147b35c (diff)
downloadcoreclr-1ecf6bdb4a703126af95beb6712c001e6341d2ab.tar.gz
coreclr-1ecf6bdb4a703126af95beb6712c001e6341d2ab.tar.bz2
coreclr-1ecf6bdb4a703126af95beb6712c001e6341d2ab.zip
[Tizen] Enable aarch64 gbs build
Diffstat (limited to 'configurecompiler.cmake')
-rw-r--r--configurecompiler.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/configurecompiler.cmake b/configurecompiler.cmake
index 5d5925c8bf..0f4594415e 100644
--- a/configurecompiler.cmake
+++ b/configurecompiler.cmake
@@ -572,6 +572,12 @@ if(CLR_CMAKE_PLATFORM_UNIX_ARM)
endif(ARM_SOFTFP)
endif(CLR_CMAKE_PLATFORM_UNIX_ARM)
+if(CLR_CMAKE_PLATFORM_UNIX_ARM64)
+ if("$ENV{__DistroRid}" MATCHES "tizen.*")
+ add_compile_options(-target aarch64-tizen-linux-gnu)
+ endif()
+endif(CLR_CMAKE_PLATFORM_UNIX_ARM64)
+
if(CLR_CMAKE_PLATFORM_UNIX)
add_compile_options(${CLR_ADDITIONAL_COMPILER_OPTIONS})
endif(CLR_CMAKE_PLATFORM_UNIX)