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.
-fPIC
1 parent 5f07fb0 commit 4e41b80Copy full SHA for 4e41b80
.github/workflows/sdks.yml
@@ -31,7 +31,7 @@ jobs:
31
SWIFT_TAG="swift-DEVELOPMENT-SNAPSHOT-${LATEST_TOOLCHAIN_VERSION}-a"
32
fi
33
echo "tag=$SWIFT_TAG" >> $GITHUB_OUTPUT
34
- echo "key=$SWIFT_TAG-ndk-${NDK_VERSION}-lld-bundle" >> $GITHUB_OUTPUT
+ echo "key=$SWIFT_TAG-ndk-${NDK_VERSION}-pic-bundle" >> $GITHUB_OUTPUT
35
- name: Get cached SDK bundle
36
id: cache-bundle
37
uses: actions/cache/restore@v4
@@ -249,6 +249,7 @@ jobs:
249
250
cat > $BUNDLE_DIR/$SDK_DIR/swift-toolset.json << EOF
251
{
252
+ "cCompiler": { "extraCLIOptions": ["-fPIC"] },
253
"swiftCompiler": { "extraCLIOptions": ["-Xclang-linker", "-fuse-ld=lld"] },
254
"schemaVersion": "1.0"
255
}
0 commit comments