From a58c6f5bff74ff4e747042fbae2ea757cd886ddd Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 10 Mar 2018 14:08:44 +0000 Subject: [PATCH] extra/vulkan-tools: fix --- extra/vulkan-tools/PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extra/vulkan-tools/PKGBUILD b/extra/vulkan-tools/PKGBUILD index 9deebd939..6a59fe1f3 100644 --- a/extra/vulkan-tools/PKGBUILD +++ b/extra/vulkan-tools/PKGBUILD @@ -3,6 +3,7 @@ # ALARM: Kevin Mihelich # - use suffix=32 in packaging for 32-bit ARM architectures +# - strip -m32 from CMakeLists pkgbase=vulkan-tools pkgname=(vulkan-trace vulkan-extra-layers) @@ -20,6 +21,11 @@ sha256sums=('7e8c9bad6932a795d1dd330e9710a38c9d0157189b2656df91264dbd051653b9' 'SKIP' 'SKIP') +prepare() { + cd "${srcdir}/VulkanTools-sdk-${pkgver}" + sed -i 's/-m32//g' vktrace/CMakeLists.txt +} + build() { cd "${srcdir}/VulkanTools-sdk-${pkgver}"