File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB AND SWIFT_SHOULD_BUILD_EMBEDDED_CONCURRENC
285
285
continue ()
286
286
endif ()
287
287
288
- if (NOT "${mod} " MATCHES "-apple-" OR "${mod} " MATCHES "-none-macho" )
288
+ if (NOT "${mod} " MATCHES "-apple-" OR "${mod} " MATCHES "-none-macho" OR " ${arch} " STREQUAL "armv7m" OR " ${arch} " STREQUAL "armv7em" )
289
289
# Host is macOS with a macOS SDK. To be able to build the C++ Concurrency runtime for non-Darwin targets using the macOS SDK,
290
290
# we need to pass some extra flags and search paths.
291
291
set (extra_c_compile_flags -stdlib=libc++ -isystem${SWIFT_SDK_OSX_PATH}/usr/include/c++/v1 -isystem${SWIFT_SDK_OSX_PATH}/usr/include -D__APPLE__ )
You can’t perform that action at this time.
0 commit comments