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 3924d1a + 1551e01 commit 3daf22eCopy full SHA for 3daf22e
cmake/modules/AddSwift.cmake
@@ -324,6 +324,7 @@ function(_add_variant_c_compile_flags)
324
endif()
325
326
if("${CFLAGS_SDK}" STREQUAL "ANDROID")
327
+ list(APPEND result -nostdinc++)
328
swift_android_libcxx_include_paths(CFLAGS_CXX_INCLUDES)
329
swift_android_include_for_arch("${CFLAGS_ARCH}" "${CFLAGS_ARCH}_INCLUDE")
330
foreach(path IN LISTS CFLAGS_CXX_INCLUDES ${CFLAGS_ARCH}_INCLUDE)
0 commit comments