diff options
author | junghyuk.park <junghyuk.park@samsung.com> | 2018-06-25 18:47:41 +0900 |
---|---|---|
committer | Gleb Balykov <g.balykov@samsung.com> | 2020-03-25 15:29:41 +0300 |
commit | 20beeabaa3ee777f2a9f113d8a59b569b57d6b20 (patch) | |
tree | 233bc7e73b851d527df93d02d0c37ee356fc69a0 /configurecompiler.cmake | |
parent | 455d6fe1191301a95b2cbb7a592afcdb209cd646 (diff) | |
download | coreclr-20beeabaa3ee777f2a9f113d8a59b569b57d6b20.tar.gz coreclr-20beeabaa3ee777f2a9f113d8a59b569b57d6b20.tar.bz2 coreclr-20beeabaa3ee777f2a9f113d8a59b569b57d6b20.zip |
[Tizen] Add support for GBS
Diffstat (limited to 'configurecompiler.cmake')
-rw-r--r-- | configurecompiler.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configurecompiler.cmake b/configurecompiler.cmake index d769e82f57..d7272572ed 100644 --- a/configurecompiler.cmake +++ b/configurecompiler.cmake @@ -541,10 +541,16 @@ if(CLR_CMAKE_PLATFORM_UNIX_ARM) # we have to set the triple by adding a compiler argument add_compile_options(-mthumb) add_compile_options(-mfpu=vfpv3) - add_compile_options(-march=armv7-a) if(ARM_SOFTFP) add_definitions(-DARM_SOFTFP) add_compile_options(-mfloat-abi=softfp) + if("$ENV{__DistroRid}" MATCHES "tizen.*") + add_compile_options(-target armv7l-tizen-linux-gnueabi) + else() + add_compile_options(-march=armv7-a) + endif() + else() + add_compile_options(-march=armv7-a) endif(ARM_SOFTFP) endif(CLR_CMAKE_PLATFORM_UNIX_ARM) |