diff options
author | eugene | 2024-04-18 14:03:21 +0300 |
---|---|---|
committer | eugene | 2024-04-18 14:03:21 +0300 |
commit | cd2c327d870ce47e704899f5659afec36587fefb (patch) | |
tree | 3a4fb83685686652e5614bcdfe00e2d619f1c68a /PKGBUILD | |
parent | bb9ac2ebf754d6a73a4485a902c23c03018c9f7b (diff) | |
download | aur-duckstation-git.tar.gz |
use clang to build shaderc
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=duckstation-git _pkgname=duckstation -pkgver=0.1.r6674.gd918705 +pkgver=0.1.r6679.g17b9736 pkgdesc='A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability (git version)' pkgrel=1 arch=(x86_64 aarch64) @@ -92,6 +92,11 @@ build() { cmake -B build \ -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_COMPILER=clang \ + -DCMAKE_CXX_COMPILER=clang++ \ + -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \ + -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \ + -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \ -DCMAKE_PREFIX_PATH="$srcdir/deps" \ -DCMAKE_INSTALL_PREFIX="$srcdir/deps" \ -DSHADERC_SKIP_TESTS=ON \ |