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.
1 parent 20f1040 commit 5ec41adCopy full SHA for 5ec41ad
stdlib/public/stubs/CMakeLists.txt
@@ -65,7 +65,7 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
65
endif()
66
67
if (SWIFT_HOST_VARIANT STREQUAL "linux")
68
- set(extra_c_compile_flags)
+ set(extra_c_compile_flags -ffreestanding)
69
elseif (SWIFT_HOST_VARIANT STREQUAL "macosx")
70
set(extra_c_compile_flags -D__MACH__ -D__APPLE__ -ffreestanding)
71
0 commit comments