mirror of
https://github.com/godotengine/moltenvk-osxcross.git
synced 2025-12-31 13:48:31 +03:00
9a78a98bc93bd368c5827be13ba893151fc142ca
Update MoltenVK to 1.4.1 (for use with SDK 1.4.335 and later)
MoltenVK builds compatible with osxcross
Official Khronos MoltenVK releases
are incompatible with current osxcross versions due to Xcode automatically
using the -fobjc-msgsend-selector-stubs optimization.
The linker used by osxcross doesn't seem to support these yet, even when compiling against Apple LLVM.
See this upstream issue for details:
This repository simply does it own builds of MoltenVK with these flags added to disable the optimization:
-fno-objc-msgsend-selector-stubs -Wno-unused-command-line-argument
That's the only difference with Khronos' builds.
Description
Custom MoltenVK builds with
-fno-objc-msgsend-selector-stubs to be compatible with osxcross
Languages
Diff
100%