Skip to content

Commit 9bb0ed6

Browse files
committed
Apply last 16 KB alignment patch that hasn't been merged to 6.2 branch yet
1 parent 053d2b1 commit 9bb0ed6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

swift-ci/sdks/android/patches/swift-android-devel.patch

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
diff --git a/swift-foundation-icu/icuSources/CMakeLists.txt b/swift-foundation-icu/icuSources/CMakeLists.txt
2+
index 4dd9e3b..7102454 100644
3+
--- a/swift-foundation-icu/icuSources/CMakeLists.txt
4+
+++ b/swift-foundation-icu/icuSources/CMakeLists.txt
5+
@@ -35,6 +35,10 @@ if(LINKER_SUPPORTS_BUILD_ID)
6+
target_link_options(_FoundationICU PRIVATE "LINKER:--build-id=sha1")
7+
endif()
8+
9+
+if(ANDROID)
10+
+ target_link_options(_FoundationICU PRIVATE "LINKER:-z,max-page-size=16384")
11+
+endif()
12+
+
13+
# Copy Headers to known directory for direct client (XCTest) test builds
14+
file(COPY
15+
include/
116
diff --git a/swift/stdlib/cmake/modules/AddSwiftStdlib.cmake b/swift/stdlib/cmake/modules/AddSwiftStdlib.cmake
217
index 0b18957eadb..5021409ba06 100644
318
--- a/swift/stdlib/cmake/modules/AddSwiftStdlib.cmake

0 commit comments

Comments
 (0)