flatpak: enforce clang and lto

This commit is contained in:
PancakeTAS 2025-07-25 22:11:31 +02:00
parent 31b3f770f5
commit b13d74caf9
No known key found for this signature in database
2 changed files with 6 additions and 0 deletions

View file

@ -19,6 +19,9 @@ modules:
prepend-ld-library-path: /usr/lib/sdk/llvm18/lib
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_C_COMPILER=clang
- -DCMAKE_CXX_COMPILER=clang++
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On
sources:
- type: git
url: https://github.com/PancakeTAS/lsfg-vk.git

View file

@ -19,6 +19,9 @@ modules:
prepend-ld-library-path: /usr/lib/sdk/llvm20/lib
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_C_COMPILER=clang
- -DCMAKE_CXX_COMPILER=clang++
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On
sources:
- type: git
url: https://github.com/PancakeTAS/lsfg-vk.git