summaryrefslogtreecommitdiff
path: root/configurecompiler.cmake
diff options
context:
space:
mode:
authorjunghyuk.park <junghyuk.park@samsung.com>2018-06-25 09:47:41 (GMT)
committerKonstantin Baladurin <k.baladurin@samsung.com>2019-09-24 16:39:53 (GMT)
commit731de2cf8d0c01f71d302da202fd0a1923f93739 (patch)
tree462e227aa2a985257ea95222cb4c561f9272592d /configurecompiler.cmake
parent3414b4c6548d1d1b33b75bcfbbebe65677b57f2d (diff)
downloadcoreclr-731de2cf8d0c01f71d302da202fd0a1923f93739.zip
coreclr-731de2cf8d0c01f71d302da202fd0a1923f93739.tar.gz
coreclr-731de2cf8d0c01f71d302da202fd0a1923f93739.tar.bz2
[Tizen] Add support for GBS
Diffstat (limited to 'configurecompiler.cmake')
-rw-r--r--configurecompiler.cmake8
1 files changed, 7 insertions, 1 deletions
diff --git a/configurecompiler.cmake b/configurecompiler.cmake
index 41da563..eb817ef 100644
--- a/configurecompiler.cmake
+++ b/configurecompiler.cmake
@@ -537,10 +537,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)