Skip to content

Commit badf0ee

Browse files
authored
Remove maximum OSX version for sanitizers (#77543)
Remove a block preventing newer versions of the MacOS SDK from being selected for compiling the sanitizers.
1 parent 2d5cc1c commit badf0ee

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler-rt/cmake/config-ix.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -479,11 +479,6 @@ if(APPLE)
479479
if(MIN_OSX_VERSION VERSION_LESS "10.7")
480480
message(FATAL_ERROR "macOS deployment target '${SANITIZER_MIN_OSX_VERSION}' is too old.")
481481
endif()
482-
if(MIN_OSX_VERSION VERSION_GREATER ${DEFAULT_SANITIZER_MIN_OSX_VERSION})
483-
message(WARNING "macOS deployment target '${SANITIZER_MIN_OSX_VERSION}' is too new, setting to '${DEFAULT_SANITIZER_MIN_OSX_VERSION}' instead.")
484-
set(MIN_OSX_VERSION ${DEFAULT_SANITIZER_MIN_OSX_VERSION})
485-
endif()
486-
487482
endif()
488483

489484
set(SANITIZER_MIN_OSX_VERSION "${MIN_OSX_VERSION}" CACHE STRING

0 commit comments

Comments
 (0)