File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ if(APPLE)
285
285
# Note: In order to target x86_64h on OS X the minimum deployment target must
286
286
# be 10.8 or higher.
287
287
set (SANITIZER_COMMON_SUPPORTED_OS osx)
288
+ set (BUILTIN_SUPPORTED_OS osx)
288
289
if (NOT SANITIZER_MIN_OSX_VERSION)
289
290
string (REGEX MATCH "-mmacosx-version-min=([.0-9]+)"
290
291
MACOSX_VERSION_MIN_FLAG "${CMAKE_CXX_FLAGS} " )
@@ -346,6 +347,7 @@ if(APPLE)
346
347
-isysroot ${IOSSIM_SDK_DIR} )
347
348
348
349
list (APPEND SANITIZER_COMMON_SUPPORTED_OS iossim)
350
+ list (APPEND BUILTIN_SUPPORTED_OS iossim)
349
351
darwin_test_archs(iossim
350
352
DARWIN_iossim_ARCHS
351
353
${toolchain_arches} )
@@ -367,6 +369,7 @@ if(APPLE)
367
369
-isysroot ${IOS_SDK_DIR} )
368
370
369
371
list (APPEND SANITIZER_COMMON_SUPPORTED_OS ios)
372
+ list (APPEND BUILTIN_SUPPORTED_OS ios)
370
373
darwin_test_archs(ios
371
374
DARWIN_ios_ARCHS
372
375
${toolchain_arches} )
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ set(arm64_SOURCES ${aarch64_SOURCES})
309
309
add_custom_target (builtins)
310
310
311
311
if (APPLE )
312
- foreach (os osx )
312
+ foreach (os ${BUILTIN_SUPPORTED_OS} )
313
313
list_union(DARWIN_BUILTIN_ARCHS DARWIN_${os} _ARCHS BUILTIN_SUPPORTED_ARCH)
314
314
set (${os} _builtin_libs)
315
315
set (${os} _builtin_lipo_flags)
You can’t perform that action at this time.
0 commit comments