summaryrefslogtreecommitdiff
path: root/clrdefinitions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'clrdefinitions.cmake')
-rw-r--r--clrdefinitions.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/clrdefinitions.cmake b/clrdefinitions.cmake
index d21fb85524..b94d515bb7 100644
--- a/clrdefinitions.cmake
+++ b/clrdefinitions.cmake
@@ -231,3 +231,6 @@ add_definitions(-DFEATURE_WINMD_RESILIENT)
add_definitions(-D_SECURE_SCL=0)
add_definitions(-DUNICODE)
add_definitions(-D_UNICODE)
+if (CLR_CMAKE_PLATFORM_UNIX AND CLR_CMAKE_TARGET_ARCH_ARM)
+ add_definitions(-DFEATURE_NGEN_RELOCS_OPTIMIZATIONS)
+endif()