mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
stdlib: build the embedded stdlib core with -enable-ossa-modules
As it is the case for the regular stdlib core
This commit is contained in:
@@ -414,6 +414,7 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
|
||||
GYB_SOURCES ${SWIFTLIB_EMBEDDED_GYB_SOURCES}
|
||||
SWIFT_COMPILE_FLAGS
|
||||
${swift_stdlib_compile_flags} -Xcc -D__MACH__ -Xcc -D__APPLE__ -Xcc -ffreestanding -enable-experimental-feature Embedded
|
||||
-Xfrontend -enable-ossa-modules
|
||||
MODULE_DIR "${CMAKE_BINARY_DIR}/lib/swift/embedded"
|
||||
SDK "embedded"
|
||||
ARCHITECTURE "${arch}"
|
||||
|
||||
Reference in New Issue
Block a user