elseif(PAL_CMAKE_PLATFORM_ARCH_I386)
add_definitions(-DBIT32=1)
set(PAL_ARCH_SOURCES_DIR i386)
- # Workaround to avoid generating sse insts for profiler
- add_compile_options(-mno-sse -mno-avx)
endif()
if(PAL_CMAKE_PLATFORM_ARCH_AMD64 AND CMAKE_SYSTEM_NAME STREQUAL Linux AND NOT CLR_CMAKE_PLATFORM_ALPINE_LINUX)
add_compile_options(-fPIC)
endif(CLR_CMAKE_PLATFORM_UNIX)
-if(CLR_CMAKE_PLATFORM_ARCH_I386)
- # Workaround to avoid generating sse insts for profiler
- add_compile_options(-mno-sse -mno-avx)
-endif(CLR_CMAKE_PLATFORM_ARCH_I386)
-
add_subdirectory(dac)
add_subdirectory(dyncrt)
add_subdirectory(staticnohost)