Makefile.in: Disable LTO for vkd3d.

Adapted by Arkadiusz Hiler.
This commit is contained in:
Giovanni Mascellani 2024-05-03 11:54:37 +02:00 committed by Arkadiusz Hiler
parent 4754b4b23b
commit 904e81e309

View File

@ -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