Skip to content

Commit de6edc7

Browse files
committed
stdlib: build the embedded stdlib core with -enable-ossa-modules
As it is the case for the regular stdlib core
1 parent 36a15ce commit de6edc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
414414
GYB_SOURCES ${SWIFTLIB_EMBEDDED_GYB_SOURCES}
415415
SWIFT_COMPILE_FLAGS
416416
${swift_stdlib_compile_flags} -Xcc -D__MACH__ -Xcc -D__APPLE__ -Xcc -ffreestanding -enable-experimental-feature Embedded
417+
-Xfrontend -enable-ossa-modules
417418
MODULE_DIR "${CMAKE_BINARY_DIR}/lib/swift/embedded"
418419
SDK "embedded"
419420
ARCHITECTURE "${arch}"

0 commit comments

Comments
 (0)