summaryrefslogtreecommitdiff
path: root/configurecompiler.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'configurecompiler.cmake')
-rw-r--r--configurecompiler.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/configurecompiler.cmake b/configurecompiler.cmake
index 0f4594415e..cf38d53f37 100644
--- a/configurecompiler.cmake
+++ b/configurecompiler.cmake
@@ -572,6 +572,10 @@ if(CLR_CMAKE_PLATFORM_UNIX_ARM)
endif(ARM_SOFTFP)
endif(CLR_CMAKE_PLATFORM_UNIX_ARM)
+if(CLR_CMAKE_PLATFORM_UNIX_X86)
+ add_compile_options(-msse2)
+endif()
+
if(CLR_CMAKE_PLATFORM_UNIX_ARM64)
if("$ENV{__DistroRid}" MATCHES "tizen.*")
add_compile_options(-target aarch64-tizen-linux-gnu)