From a356edb9548c332866b29e1184fe122fa3d65b62 Mon Sep 17 00:00:00 2001 From: Hu Butui Date: Mon, 30 Dec 2024 09:43:30 +0800 Subject: [PATCH] vxl: build with gcc13 --- archlinuxcn/vxl/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/archlinuxcn/vxl/PKGBUILD b/archlinuxcn/vxl/PKGBUILD index bf0e4ad73157..70d0acca997d 100644 --- a/archlinuxcn/vxl/PKGBUILD +++ b/archlinuxcn/vxl/PKGBUILD @@ -16,7 +16,10 @@ depends=( libtiff.so zlib ) -makedepends=('cmake') +makedepends=( + cmake + gcc13 +) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vxl/vxl/archive/v${pkgver}.tar.gz") sha512sums=('0b33e12557315058e7786c2049af3b01f1208e50660ccbc45f4d9a4dba4eeadfa5e3125380d8781eed2a9abf1d153ffb71c416ed2d196ab4194f5b3722fe6f2b') @@ -26,6 +29,8 @@ build() { -DBUILD_SHARED_LIBS=BOOL:ON \ -DBUILD_TESTING:BOOL=OFF \ -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_CXX_COMPILER=g++-13 \ + -DCMAKE_C_COMPILER=gcc-13 \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ -DVXL_BUILD_CONTRIB:BOOL=ON \