summaryrefslogtreecommitdiff
path: root/clrdefinitions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'clrdefinitions.cmake')
-rw-r--r--clrdefinitions.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/clrdefinitions.cmake b/clrdefinitions.cmake
index a976e7713b..4d366e1d7e 100644
--- a/clrdefinitions.cmake
+++ b/clrdefinitions.cmake
@@ -103,6 +103,15 @@ else(WIN32)
add_definitions(-DFEATURE_ARRAYSTUB_AS_IL)
add_definitions(-DFEATURE_MULTICASTSTUB_AS_IL)
endif(WIN32)
+
+if(NOT CLR_CMAKE_TARGET_ARCH_I386)
+ add_definitions(-DFEATURE_PORTABLE_SHUFFLE_THUNKS)
+endif()
+
+if(CLR_CMAKE_PLATFORM_UNIX OR NOT CLR_CMAKE_TARGET_ARCH_I386)
+ add_definitions(-DFEATURE_INSTANTIATINGSTUB_AS_IL)
+endif()
+
add_definitions(-DFEATURE_CODE_VERSIONING)
add_definitions(-DFEATURE_COLLECTIBLE_TYPES)