From 904e81e3092bbb38bf027b3e0215131fd27c33ba Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Fri, 3 May 2024 11:54:37 +0200 Subject: [PATCH] Makefile.in: Disable LTO for vkd3d. Adapted by Arkadiusz Hiler. --- Makefile.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.in b/Makefile.in index e1e9fc5f..0d2e8181 100644 --- a/Makefile.in +++ b/Makefile.in @@ -544,6 +544,9 @@ VKD3D_CONFIGURE_ARGS = \ --without-ncurses \ SONAME_LIBVULKAN=vulkan-1 \ +# LTO is enabled by default, but causes the build to fail. I havent't +# investigated this yet. +VKD3D_CFLAGS = -fno-lto VKD3D_LDFLAGS = -static-libgcc $(CROSSLDFLAGS) VKD3D_DEPENDS = vulkan-headers spirv-headers