From 3f83b293de94435437ae0ce937e38929eb66b30b Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Tue, 23 Jan 2024 10:21:57 +0200 Subject: [PATCH] msys: use clang, archlinux: use gcc --- archlinux/PKGBUILD | 6 +++--- msys2/PKGBUILD.in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/archlinux/PKGBUILD b/archlinux/PKGBUILD index 7a60d98..0adc708 100644 --- a/archlinux/PKGBUILD +++ b/archlinux/PKGBUILD @@ -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 } diff --git a/msys2/PKGBUILD.in b/msys2/PKGBUILD.in index b30c99b..76cd839 100644 --- a/msys2/PKGBUILD.in +++ b/msys2/PKGBUILD.in @@ -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 }