feat: set CC=clang when build libtorrent

This commit is contained in:
Mogeko 2021-11-20 10:00:42 +00:00
parent 8115d0975b
commit 50f2eb1921
No known key found for this signature in database
GPG key ID: B35485A88F40AD2C
2 changed files with 2 additions and 1 deletions

View file

@ -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) \

View file

@ -1,5 +1,5 @@
{
"qbittorrent": "4.4.0beta3",
"libtorrent": "2.0.4",
"pkgrel": 0
"pkgrel": 1
}