File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1421,11 +1421,13 @@ jobs:
1421
1421
android-api-level : ${{ inputs.ANDROID_API_LEVEL }}
1422
1422
android-clang-version : ${{ inputs.ANDROID_CLANG_VERSION }}
1423
1423
ndk-path : ${{ steps.setup-ndk.outputs.ndk-path }}
1424
- msvc-compilers : ' @("C")'
1424
+ msvc-compilers : ${{ inputs.use_host_toolchain && '@("C")' || '@()' }}
1425
+ pinned-compilers : ${{ inputs.use_host_toolchain && '@()' || '@("C")' }}
1425
1426
cmake-defines : |
1426
1427
@{
1427
1428
'BUILD_SHARED_LIBS' = "NO";
1428
1429
'CMAKE_POSITION_INDEPENDENT_CODE' = "YES";
1430
+ 'CMAKE_C_FLAGS' = "${{ inputs.use_host_toolchain && '' || '-fuse-ld=lld' }}";
1429
1431
}
1430
1432
- name : Build brotli
1431
1433
run : cmake --build ${{ github.workspace }}/BinaryCache/brotli-${{ inputs.brotli_version }}
You can’t perform that action at this time.
0 commit comments