Skip to content

Commit

Permalink
Fix cross-compiling CoreCLR from macOS arm64 to x64
Browse files Browse the repository at this point in the history
It got uncovered by dotnet#103801.

This showed up in the VMR since we use arm64 macOS build agents there.
  • Loading branch information
akoeplinger committed Jul 8, 2024
1 parent e336326 commit fd1915c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/pal/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ endif(CLR_CMAKE_USE_SYSTEM_LIBUNWIND)

if(CLR_CMAKE_TARGET_OSX)
add_definitions(-DTARGET_OSX)
if(CLR_CMAKE_TARGET_ARCH_AMD64)
if(CLR_CMAKE_HOST_ARCH_AMD64)
add_definitions(-DXSTATE_SUPPORTED)
endif()
set(PLATFORM_SOURCES
Expand Down

0 comments on commit fd1915c

Please sign in to comment.