From 141f767694426b34c82c36dc9d92111d4a4a3dab Mon Sep 17 00:00:00 2001 From: Max Charlamb <44248479+max-charlamb@users.noreply.github.com> Date: Wed, 10 Sep 2025 09:03:42 -0400 Subject: [PATCH] add GC_CONFIG_DRIVEN define to standalone GC builds --- src/coreclr/gc/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/gc/CMakeLists.txt b/src/coreclr/gc/CMakeLists.txt index 38ac8c8601aab2..2d648a5d37ba74 100644 --- a/src/coreclr/gc/CMakeLists.txt +++ b/src/coreclr/gc/CMakeLists.txt @@ -137,6 +137,7 @@ if(FEATURE_STANDALONE_GC) add_definitions(-DFX_VER_INTERNALNAME_STR=clrgc.dll) add_definitions(-DVERIFY_HEAP) + add_definitions(-DGC_CONFIG_DRIVEN) if(CLR_CMAKE_HOST_APPLE) # The implementation of GCToOSInterface on Apple platforms makes use of non-POSIX # pthreads APIs, which by default are not included in the pthreads header