summaryrefslogtreecommitdiff
path: root/src/pal/src/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2018-10-03 10:21:23 -0700
committerGitHub <noreply@github.com>2018-10-03 10:21:23 -0700
commit48a8c74e355fad5c1a569b131f4038218c98dfee (patch)
tree5820c97c8730f0aecefd2a419623fe2ab1b539e2 /src/pal/src/CMakeLists.txt
parent302630ed5a3730470e9ffeeebcd38c737c03963d (diff)
downloadcoreclr-48a8c74e355fad5c1a569b131f4038218c98dfee.tar.gz
coreclr-48a8c74e355fad5c1a569b131f4038218c98dfee.tar.bz2
coreclr-48a8c74e355fad5c1a569b131f4038218c98dfee.zip
Support building cross-architecture components on armel (#20190)
Diffstat (limited to 'src/pal/src/CMakeLists.txt')
-rw-r--r--src/pal/src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/src/CMakeLists.txt b/src/pal/src/CMakeLists.txt
index fe73050127..9659ffdc12 100644
--- a/src/pal/src/CMakeLists.txt
+++ b/src/pal/src/CMakeLists.txt
@@ -70,7 +70,7 @@ include_directories(include)
if(CLR_CROSS_COMPONENTS_BUILD)
if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL amd64)
- if(CLR_CMAKE_TARGET_ARCH STREQUAL "arm")
+ if(CLR_CMAKE_TARGET_ARCH STREQUAL "arm" OR CLR_CMAKE_TARGET_ARCH STREQUAL "armel")
if($ENV{CROSSCOMPILE} STREQUAL "1")
set(PAL_CMAKE_PLATFORM_ARCH_I386 1)
add_definitions(-D_X86_)