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 @@ -287,7 +287,7 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB AND SWIFT_SHOULD_BUILD_EMBEDDED_CONCURRENC
287287 if (NOT "${mod} " MATCHES "-apple-" OR "${mod} " MATCHES "-none-macho" )
288288 # Host is macOS with a macOS SDK. To be able to build the C++ Concurrency runtime for non-Darwin targets using the macOS SDK,
289289 # we need to pass some extra flags and search paths.
290- set (extra_c_compile_flags -stdlib=libc++ -I ${SWIFT_SDK_OSX_PATH} /usr/include /c++/v1 -I ${SWIFT_SDK_OSX_PATH} /usr/include -D__APPLE__)
290+ 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__)
291291 endif ()
292292 endif ()
293293
You can’t perform that action at this time.
0 commit comments