feat: set CC=clang when build libtorrent
This commit is contained in:
parent
8115d0975b
commit
50f2eb1921
2 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ ARG LIBTORRENT_GIT=https://github.com/arvidn/libtorrent.git
|
|||
RUN git clone --depth 1 --recurse-submodules -b v${LIBTORRENT_VERSION} ${LIBTORRENT_GIT} .
|
||||
RUN cmake . -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_COMPILER=clang++ \
|
||||
-DCMAKE_CC_COMPILER=clang \
|
||||
-DCMAKE_INSTALL_PREFIX=/workspace/pkg \
|
||||
-DCMAKE_CXX_STANDARD=17 \
|
||||
&& make -j$(nproc) \
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"qbittorrent": "4.4.0beta3",
|
||||
"libtorrent": "2.0.4",
|
||||
"pkgrel": 0
|
||||
"pkgrel": 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue