Skip to content

Commit 342184e

Browse files
committed
[CMake] Pass C flags through to swiftObservation build.
1 parent d6962f3 commit 342184e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/Observation/Sources/Observation/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ add_swift_target_library(swiftObservation ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS
2727

2828
SWIFT_COMPILE_FLAGS
2929
${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
30+
31+
C_COMPILE_FLAGS
32+
${swift_runtime_library_compile_flags}
33+
3034
SWIFT_MODULE_DEPENDS _Concurrency
3135
INSTALL_IN_COMPONENT stdlib
3236

0 commit comments

Comments
 (0)