Skip to content

Commit

Permalink
msys: use clang, archlinux: use gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Gagis committed Jan 23, 2024
1 parent a2e8585 commit 3f83b29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions archlinux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ prepare() {
build() {
cd "$rootDir"
# TODO: turn on lint when arch adopts more modern clang-tidy
CXX=clang++ make lint=off
make lint=off
}

check() {
cd "$rootDir"
CXX=clang++ make test
make test
}

package() {
cd "$rootDir"
CXX=clang++ make DESTDIR="$pkgdir" PREFIX=/usr install
make DESTDIR="$pkgdir" PREFIX=/usr install
}
6 changes: 3 additions & 3 deletions msys2/PKGBUILD.in
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ prepare() {

build() {
cd "$rootDir"
make
CXX=clang++ make
}

check() {
cd "$rootDir"
make test
CXX=clang++ make test
}

package() {
cd "$rootDir"
make DESTDIR="$pkgdir" PREFIX="$dirPrefix" install
CXX=clang++ make DESTDIR="$pkgdir" PREFIX="$dirPrefix" install
}

0 comments on commit 3f83b29

Please sign in to comment.