Skip to content

Commit 5f16c99

Browse files
committed
Update aur tmr to use clang
1 parent 6a452c5 commit 5f16c99

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tools/aur/task-maker-rust-git/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ arch=('i686' 'x86_64' 'armv7h' 'aarch64')
88
url="https://github.com/olimpiadi-informatica/task-maker-rust"
99
license=('MPL2')
1010
depends=()
11-
makedepends=('cargo')
11+
makedepends=('cargo' 'clang')
1212
optdepends=('texlive-core: for compiling tex statements'
1313
'gcc: for running C/C++ solutions'
1414
'mono: for running C# solutions'
@@ -30,7 +30,7 @@ pkgver() {
3030

3131
build() {
3232
cd "$srcdir/task-maker-rust"
33-
TM_DATA_DIR=/usr/share/task-maker-rust cargo build --release --bins
33+
CXX=clang++ CC=clang TM_DATA_DIR=/usr/share/task-maker-rust cargo build --release --bins
3434
target/release/task-maker-tools gen-autocompletion
3535
}
3636

tools/aur/task-maker-rust/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pkgdesc="Tool for building tasks for informatics competitions, with support for
77
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
88
url="https://github.com/olimpiadi-informatica/task-maker-rust"
99
license=('MPL2')
10-
makedepends=('cargo')
10+
makedepends=('cargo' 'clang')
1111
optdepends=('texlive-core: for compiling tex statements'
1212
'gcc: for running C/C++ solutions'
1313
'mono: for running C# solutions'
@@ -21,7 +21,7 @@ sha256sums=('@@SHA256@@')
2121

2222
build() {
2323
cd "$srcdir/task-maker-rust-${pkgver}"
24-
TM_DATA_DIR=/usr/share/task-maker-rust cargo build --release --bins
24+
CXX=clang++ CC=clang TM_DATA_DIR=/usr/share/task-maker-rust cargo build --release --bins
2525
target/release/task-maker-tools gen-autocompletion
2626
}
2727

0 commit comments

Comments
 (0)