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 e7e2dc1 + 988531c commit d8cfe92Copy full SHA for d8cfe92
stdlib/toolchain/CMakeLists.txt
@@ -1,5 +1,13 @@
1
# Toolchain-only build products
2
3
+# `-fsized-deallocation` would cause a build failure
4
+# when targeting macOS 14.0 SDK used in some configuration
5
+get_property(directory_compile_options
6
+ DIRECTORY
7
+ PROPERTY COMPILE_OPTIONS)
8
+list(FILTER directory_compile_options EXCLUDE REGEX ".*-fsized-deallocation.*")
9
+set_property(DIRECTORY PROPERTY COMPILE_OPTIONS ${directory_compile_options})
10
+
11
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/../cmake/modules)
12
include(StdlibOptions)
13
include(AddSwiftStdlib)
0 commit comments