Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v2: windowscodecs/metadata: Create default item for the gAMA reader.
windowscodecs/metadata: Make it possible to populate default items at creation time.
windowscodecs/metadata: Pass handler pointer to the loader implementation.
windowscodecs/metadatahandler: Remove unused internal vtable entries.
windowscodecs/tests: Add some tests for GetMetadataHandlerInfo().
windowscodecs/tests: Add some more tests for creating metadata readers.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7776
This makes some of the wine build tools handle LTO properly (when passed via CFLAGS/LDFLAGS in some way). Of course more work is needed for a successful build with LTO, but not that far fetched honestly (asm functions are the biggest issue, also because they can call "seemingly unused" C functions which have to be marked with the `used` attribute). But that's for other MRs not related to wine tools.
--
v2: tools/winegcc: Pass relevant LTO options also to the linker.
tools/winebuild: Try gcc-* prefixed utils first.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4908