The source project of this merge request has been removed.
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
This MR applies compiler and linker flags for cross-compilation toolchain.
Benefits:
-O0
ones. Basically do the same thing as with Linux binaries.Existing flags require some tweaking though:
-Werror=format-security
compiler flag can't be applied as some Windows code has security warnings.-Wl,-z
linker flags are not supported by MinGW ld
.