From 50f2eb1921df9fd300c84642bf8b0f997d941872 Mon Sep 17 00:00:00 2001 From: Mogeko Date: Sat, 20 Nov 2021 10:00:42 +0000 Subject: [PATCH] feat: set CC=clang when build libtorrent --- Dockerfile | 1 + latest.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1b55d81..3d635dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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) \ diff --git a/latest.json b/latest.json index d002af2..fc9ffb9 100644 --- a/latest.json +++ b/latest.json @@ -1,5 +1,5 @@ { "qbittorrent": "4.4.0beta3", "libtorrent": "2.0.4", - "pkgrel": 0 + "pkgrel": 1 }