From b13d74caf9316363461c7e8c407ae56cce3fd196 Mon Sep 17 00:00:00 2001 From: PancakeTAS Date: Fri, 25 Jul 2025 22:11:31 +0200 Subject: [PATCH] flatpak: enforce clang and lto --- .../org.freedesktop.Platform.VulkanLayer.lsfgvk_23.08.yml | 3 +++ .../org.freedesktop.Platform.VulkanLayer.lsfgvk_24.08.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/scripts/flatpak/org.freedesktop.Platform.VulkanLayer.lsfgvk_23.08.yml b/scripts/flatpak/org.freedesktop.Platform.VulkanLayer.lsfgvk_23.08.yml index 72c1041..f3a5e3c 100644 --- a/scripts/flatpak/org.freedesktop.Platform.VulkanLayer.lsfgvk_23.08.yml +++ b/scripts/flatpak/org.freedesktop.Platform.VulkanLayer.lsfgvk_23.08.yml @@ -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 diff --git a/scripts/flatpak/org.freedesktop.Platform.VulkanLayer.lsfgvk_24.08.yml b/scripts/flatpak/org.freedesktop.Platform.VulkanLayer.lsfgvk_24.08.yml index bf34b02..7196745 100644 --- a/scripts/flatpak/org.freedesktop.Platform.VulkanLayer.lsfgvk_24.08.yml +++ b/scripts/flatpak/org.freedesktop.Platform.VulkanLayer.lsfgvk_24.08.yml @@ -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