We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55d5a57 + aea2bb5 commit 38c0ce5Copy full SHA for 38c0ce5
stdlib/public/Concurrency/CMakeLists.txt
@@ -247,7 +247,13 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB AND SWIFT_SHOULD_BUILD_EMBEDDED_CONCURRENC
247
if(NOT "${mod}" MATCHES "-macos$")
248
continue()
249
endif()
250
- set(extra_c_compile_flags -D__MACH__ -D__APPLE__ -ffreestanding)
+ if("${mod}" MATCHES "riscv")
251
+ continue()
252
+ endif()
253
+ if("${mod}" MATCHES "armv6m")
254
255
256
+ set(extra_c_compile_flags -D__MACH__ -D__APPLE__ -ffreestanding -stdlib=libc++)
257
set(extra_swift_compile_flags -Xcc -D__MACH__ -Xcc -D__APPLE__ -Xcc -ffreestanding)
258
259
0 commit comments