summaryrefslogtreecommitdiff
path: root/src/jit/dll
diff options
context:
space:
mode:
authorJarret Shook <jarret_shook@outlook.com>2015-12-02 15:48:45 -0800
committerjashook <jashoo@microsoft.com>2015-12-15 12:51:38 -0800
commitb2e88514d55b718b40c012209b62e060efed9945 (patch)
tree305a2af1ab3cf0100c2dd33c928e906f82cda070 /src/jit/dll
parentb171cfd0c7179c39e8959d42aa3505ccfea1e834 (diff)
downloadcoreclr-b2e88514d55b718b40c012209b62e060efed9945.tar.gz
coreclr-b2e88514d55b718b40c012209b62e060efed9945.tar.bz2
coreclr-b2e88514d55b718b40c012209b62e060efed9945.zip
Build the legacy jit for x86 and arm.
Small changes to cmake to allow us to build the legacy jit as the fallback jit for both x86 and arm.
Diffstat (limited to 'src/jit/dll')
-rw-r--r--src/jit/dll/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jit/dll/CMakeLists.txt b/src/jit/dll/CMakeLists.txt
index 00e343dfe2..8ab402709b 100644
--- a/src/jit/dll/CMakeLists.txt
+++ b/src/jit/dll/CMakeLists.txt
@@ -1,5 +1,9 @@
project(ClrJit)
+if(CLR_CMAKE_PLATFORM_ARCH_I386 OR CLR_CMAKE_PLATFORM_ARCH_ARM)
+ add_definitions(-DLEGACY_BACKEND)
+endif(CLR_CMAKE_PLATFORM_ARCH_I386 OR CLR_CMAKE_PLATFORM_ARCH_ARM)
+
# Disable the following for UNIX altjit on Windows
if(CLR_CMAKE_PLATFORM_UNIX)
add_compile_options(-fPIC)