Created
March 19, 2022 04:11
-
-
Save colemancda/8a8cd53d5a3956c849cb510cb91d54b0 to your computer and use it in GitHub Desktop.
Swift 5.5.3 Soft Float patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/stdlib/cmake/modules/SwiftSource.cmake b/stdlib/cmake/modules/SwiftSource.cmake | |
| index 280e18f8774..6a922b75116 100644 | |
| --- a/stdlib/cmake/modules/SwiftSource.cmake | |
| +++ b/stdlib/cmake/modules/SwiftSource.cmake | |
| @@ -467,6 +467,7 @@ function(_compile_swift_files | |
| endif() | |
| list(APPEND swift_flags ${SWIFT_EXPERIMENTAL_EXTRA_FLAGS}) | |
| + list(APPEND swift_flags "-Xcc" "-msoft-float") | |
| if(SWIFTFILE_OPT_FLAGS) | |
| list(APPEND swift_flags ${SWIFTFILE_OPT_FLAGS}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment