diff options
author | Sean Gillespie <sean@swgillespie.me> | 2017-01-23 19:44:10 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-01-23 19:44:10 -0800 |
commit | bbd32c484f2d00a566217e52bddb6960c2ec0b22 (patch) | |
tree | 2e993c5409feea679563ac18fd5f7600e1412642 /src/dlls | |
parent | d8b995b42714f4e83e0ee35a8ff481143cd62994 (diff) | |
download | coreclr-bbd32c484f2d00a566217e52bddb6960c2ec0b22.tar.gz coreclr-bbd32c484f2d00a566217e52bddb6960c2ec0b22.tar.bz2 coreclr-bbd32c484f2d00a566217e52bddb6960c2ec0b22.zip |
[Local GC] Provide an implementation of GCToOSInterface for Unix-like platforms (#8976)
* Add way to build with FEATURE_STANDALONE_GC from build.sh
* Make CMake changes to build the GC 'PAL' as its own build target (to avoid -nostdinc).
In addition, introduce a "GC PAL" that provides an implementation of
GCToOSInterface on Unix-like platforms, for use with
FEATURE_STANDALONE_GC.
Diffstat (limited to 'src/dlls')
-rw-r--r-- | src/dlls/mscoree/coreclr/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dlls/mscoree/coreclr/CMakeLists.txt b/src/dlls/mscoree/coreclr/CMakeLists.txt index aa7bb0d9b9..afd18d6c27 100644 --- a/src/dlls/mscoree/coreclr/CMakeLists.txt +++ b/src/dlls/mscoree/coreclr/CMakeLists.txt @@ -125,6 +125,12 @@ else() ) endif(WIN32) +if(CLR_CMAKE_PLATFORM_UNIX AND FEATURE_STANDALONE_GC) + list(APPEND CORECLR_LIBRARIES + gc_unix + ) +endif(CLR_CMAKE_PLATFORM_UNIX AND FEATURE_STANDALONE_GC) + if(CLR_CMAKE_PLATFORM_UNIX AND FEATURE_EVENT_TRACE) list(APPEND CORECLR_LIBRARIES eventprovider |