Henri Verbeet pushed to branch master at wine / vkd3d
Commits: d4032f7d by Henri Verbeet at 2025-05-14T14:06:37+02:00 demos: Build with -fno-lto.
Some versions of Clang do not properly pass include paths to the assembler when LTO is enabled. That's a problem for the DEMO_EMBED macro used by the demos, since it relies on .incbin. To make matters even better, compilation fails, but doesn't return an error code; the resulting binary is simply broken. Fortunately we don't really care about LTO for the demos, so we can simply disable it. See also https://github.com/llvm/llvm-project/issues/112920
Thanks to Giovanni for tracking down some of the pieces of this issue.
- - - - -
2 changed files:
- configure.ac - m4/check-cflags.m4
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/d4032f7d09b4d34d3da3cb2bf55215...