Skip to content

Custom MoltenVK builds with `-fno-objc-msgsend-selector-stubs` to be compatible with osxcross

License

Notifications You must be signed in to change notification settings

godotengine/moltenvk-osxcross

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Custom MoltenVK builds with `-fno-objc-msgsend-selector-stubs` to be compatible with osxcross

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project