summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorHyung-Kyu Choi <hk0110.choi@samsung.com>2017-01-05 06:17:18 (GMT)
committerHyung-Kyu Choi <hk0110.choi@samsung.com>2017-01-05 09:44:26 (GMT)
commitd593e48ea8b1dba8c6f8c81ac66eb5c5f88c1300 (patch)
tree50f6187ab8b25037ed39065b5dfaccfeb38a1652 /cross
parentb92ae42b6664271d335057c9f8519fb091211ae1 (diff)
downloadcoreclr-d593e48ea8b1dba8c6f8c81ac66eb5c5f88c1300.zip
coreclr-d593e48ea8b1dba8c6f8c81ac66eb5c5f88c1300.tar.gz
coreclr-d593e48ea8b1dba8c6f8c81ac66eb5c5f88c1300.tar.bz2
Update cmake file for armel
Enable build using Tizen rootfs Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Diffstat (limited to 'cross')
-rw-r--r--cross/armel/toolchain.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cross/armel/toolchain.cmake b/cross/armel/toolchain.cmake
index e1e7282..3154d49 100644
--- a/cross/armel/toolchain.cmake
+++ b/cross/armel/toolchain.cmake
@@ -22,7 +22,7 @@ add_compile_options(--sysroot=${CROSS_ROOTFS})
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -target ${TOOLCHAIN}")
set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} --sysroot=${CROSS_ROOTFS}")
-if("$ENV{__DistroRid}" STREQUAL "tizen.3.0.0-armel")
+if("$ENV{__DistroRid}" MATCHES "tizen.*")
add_compile_options(-I$ENV{ROOTFS_DIR}/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include/c++/)
add_compile_options(-I$ENV{ROOTFS_DIR}/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include/c++/armv7l-tizen-linux-gnueabi)
add_compile_options(-Wno-deprecated-declarations) # compile-time option