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 | |
parent | bb9ac2ebf754d6a73a4485a902c23c03018c9f7b (diff) | |
download | aur-cd2c327d870ce47e704899f5659afec36587fefb.tar.gz |
use clang to build shaderc
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = duckstation-git pkgdesc = A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability (git version) - pkgver = 0.1.r6674.gd918705 + pkgver = 0.1.r6679.g17b9736 pkgrel = 1 url = https://github.com/stenzek/duckstation arch = x86_64 @@ -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 \ |