summaryrefslogtreecommitdiff
path: root/compileoptions.cmake
diff options
context:
space:
mode:
authorjunghyuk.park <junghyuk.park@samsung.com>2018-06-25 09:47:41 (GMT)
committerGleb Balykov <g.balykov@samsung.com>2018-09-18 12:49:14 (GMT)
commit571ab4e1b1d6e8eb86deef1d3dbf359a7d159538 (patch)
treee217a95a662f8e11df51fb98a3aa31136757af31 /compileoptions.cmake
parent30d8d19b4b2e59f762bce8da1903ed1391f324db (diff)
downloadcoreclr-571ab4e1b1d6e8eb86deef1d3dbf359a7d159538.zip
coreclr-571ab4e1b1d6e8eb86deef1d3dbf359a7d159538.tar.gz
coreclr-571ab4e1b1d6e8eb86deef1d3dbf359a7d159538.tar.bz2
[Tizen] Add support for GBS
Diffstat (limited to 'compileoptions.cmake')
-rwxr-xr-x[-rw-r--r--]compileoptions.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/compileoptions.cmake b/compileoptions.cmake
index 9c352e8..2221781 100644..100755
--- a/compileoptions.cmake
+++ b/compileoptions.cmake
@@ -65,7 +65,11 @@ if(CLR_CMAKE_PLATFORM_UNIX_ARM)
if(ARM_SOFTFP)
add_definitions(-DARM_SOFTFP)
add_compile_options(-mfloat-abi=softfp)
+ if("$ENV{__HostDistroRid}" MATCHES "tizen.*")
+ add_compile_options(-target armv7l-tizen-linux-gnueabi)
+ else()
add_compile_options(-target armv7-linux-gnueabi)
+ endif()
else()
add_compile_options(-target armv7-linux-gnueabihf)
endif(ARM_SOFTFP)