File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,27 @@ dl=''
1616
1717if [[ " ${CW_CONFIG:- } " != * ' gcc' * ]]; then
1818 [ -n " ${CW_CCSUFFIX:- } " ] || export CW_CCSUFFIX=' -19'
19- extra+=" llvm${CW_CCSUFFIX} clang${CW_CCSUFFIX} lld${CW_CCSUFFIX} libclang-rt${CW_CCSUFFIX} -dev"
19+ if [[ " ${CW_CONFIG:- } " != * ' win' * ]] || [ " ${CW_LLVM_MINGW_ONLY:- } " != ' 1' ]; then
20+ extra+=" llvm${CW_CCSUFFIX} clang${CW_CCSUFFIX} lld${CW_CCSUFFIX} libclang-rt${CW_CCSUFFIX} -dev"
21+ fi
2022fi
2123
2224[[ " ${CW_CONFIG:- } " = * ' boringssl' * ]] && extra+=' golang'
2325
2426if [[ " ${CW_CONFIG:- } " = * ' win' * ]]; then
25- extra+=' gcc-mingw-w64-x86-64-win32'
27+ [ " ${CW_LLVM_MINGW_ONLY :- } " != ' 1 ' ] && extra+=' gcc-mingw-w64-x86-64-win32'
2628 extra+=' wine64 wine'
2729 if [[ " ${CW_CONFIG:- } " = * ' x86' * ]]; then
28- extra+=' gcc-mingw-w64-i686-win32'
30+ [ " ${CW_LLVM_MINGW_ONLY :- } " != ' 1 ' ] && extra+=' gcc-mingw-w64-i686-win32'
2931 extra+=' wine32'
3032 fi
3133 # https://tracker.debian.org/pkg/osslsigncode
3234 extra+=' osslsigncode'
3335 if [[ " ${CW_CONFIG:- } " = * ' boringssl' * ]] || [[ " ${CW_CONFIG:- } " = * ' awslc' * ]]; then
34- extra+=' g++-mingw-w64-x86-64-win32'
36+ [ " ${CW_LLVM_MINGW_ONLY :- } " != ' 1 ' ] && extra+=' g++-mingw-w64-x86-64-win32'
3537 extra+=' nasm'
3638 if [[ " ${CW_CONFIG:- } " = * ' x86' * ]]; then
37- extra+=' g++-mingw-w64-i686-win32'
39+ [ " ${CW_LLVM_MINGW_ONLY :- } " != ' 1 ' ] && extra+=' g++-mingw-w64-i686-win32'
3840 fi
3941 fi
4042 extra+=' python3-pip python3-venv' # for pefile and libpsl
You can’t perform that action at this time.
0 commit comments