Skip to content

Commit 570e470

Browse files
committed
Remove -Xswiftc -Xcc -Xswiftc -U_GNU_SOURCE flag because it breaks some packages
1 parent 45cd665 commit 570e470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ runs:
312312
echo "swiftroot=${SWIFT_INSTALLATION}" >> $GITHUB_OUTPUT
313313
314314
# plugin-path is a workaround for https://github.com/swiftlang/swift-package-manager/issues/8362
315-
echo "swiftcmd=TARGET_OS_ANDROID=1 SKIP_BRIDGE=1 ${SWIFT_INSTALLATION}/bin/swift build --swift-sdk ${SWIFT_SDK_TARGET} -Xswiftc -plugin-path -Xswiftc ${SWIFT_INSTALLATION}/lib/swift/host/plugins/testing -Xswiftc -DTARGET_OS_ANDROID -Xswiftc -DSKIP_BRIDGE -Xswiftc -Xcc -Xswiftc -U_GNU_SOURCE ${{ inputs.swift-build-flags }}" >> $GITHUB_OUTPUT
315+
echo "swiftcmd=TARGET_OS_ANDROID=1 SKIP_BRIDGE=1 ${SWIFT_INSTALLATION}/bin/swift build --swift-sdk ${SWIFT_SDK_TARGET} -Xswiftc -plugin-path -Xswiftc ${SWIFT_INSTALLATION}/lib/swift/host/plugins/testing -Xswiftc -DTARGET_OS_ANDROID -Xswiftc -DSKIP_BRIDGE ${{ inputs.swift-build-flags }}" >> $GITHUB_OUTPUT
316316
echo "swift-sdk=${SWIFT_SDK_TARGET}" >> $GITHUB_OUTPUT
317317
318318
- name: Check Swift Version

0 commit comments

Comments
 (0)