diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2021-06-09 00:21:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 00:21:46 +0300 |
commit | 5d6278a6403ef82650dde7eab687b4ba20266d21 (patch) | |
tree | 2977e791af72c12fb595263b0339f35521de4a3e /src/coreclr/CMakeLists.txt | |
parent | 6058cb7f2045a03dd4ba864a4963eeda12566260 (diff) |
Build support for s390x: PAL layer (#53287)
* Add PAL implementation for Linux on s390x
* Define BIGENDIAN on s390x when compiling coreclr
* Provide a default HAVE_FUNCTIONAL_PTHREAD_ROBUST_MUTEXES_EXITCODE
value in eng/native/tryrun.cmake
Diffstat (limited to 'src/coreclr/CMakeLists.txt')
-rw-r--r-- | src/coreclr/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coreclr/CMakeLists.txt b/src/coreclr/CMakeLists.txt index 8f82d83fa4b..78aa9694735 100644 --- a/src/coreclr/CMakeLists.txt +++ b/src/coreclr/CMakeLists.txt @@ -34,6 +34,10 @@ endif(CORECLR_SET_RPATH) OPTION(CLR_CMAKE_ENABLE_CODE_COVERAGE "Enable code coverage" OFF) +if(CLR_CMAKE_HOST_ARCH_S390X) + add_definitions(-DBIGENDIAN) +endif(CLR_CMAKE_HOST_ARCH_S390X) + #---------------------------------------------------- # Cross target Component build specific configuration #---------------------------------------------------- |