File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2285,16 +2285,16 @@ if(ARROW_MIMALLOC)
22852285 "${MIMALLOC_PREFIX} /lib/mimalloc-2.2/${CMAKE_STATIC_LIBRARY_PREFIX}${MIMALLOC_LIB_BASE_NAME}${CMAKE_STATIC_LIBRARY_SUFFIX} "
22862286 )
22872287
2288- set (MIMALLOC_C_FLAGS)
2289- if (WIN32 )
2288+ set (MIMALLOC_C_FLAGS ${EP_C_FLAGS} )
2289+ if (MINGW )
22902290 # Workaround https://github.com/microsoft/mimalloc/issues/910 on RTools40
22912291 set (MIMALLOC_C_FLAGS "${MIMALLOC_C_FLAGS} -DERROR_COMMITMENT_MINIMUM=635" )
22922292 endif ()
22932293
22942294 set (MIMALLOC_CMAKE_ARGS
22952295 ${EP_COMMON_CMAKE_ARGS}
2296- "-DCMAKE_INSTALL_PREFIX=${MIMALLOC_PREFIX} "
22972296 "-DCMAKE_C_FLAGS=${MIMALLOC_C_FLAGS} "
2297+ "-DCMAKE_INSTALL_PREFIX=${MIMALLOC_PREFIX} "
22982298 -DMI_OVERRIDE=OFF
22992299 -DMI_LOCAL_DYNAMIC_TLS=ON
23002300 -DMI_BUILD_OBJECT=OFF
You can’t perform that action at this time.
0 commit comments