On 5.02.2025 14:33, Martin Storsjö wrote:
Ideally, we wouldn't need to use assembly for things like this;
ideally we should set -fno-builtin for the relevant source files.
However, with automake, it is not easy to set such an option
specifically for one individual file, and it is not possible to
activate specifically -fno-builtin with either a pragma or an
optimize attribute in the source files.


I agree that would be better. Automake allows setting custom CFLAGS for an entire library, so one workaround could be building that file as a separate static library and merging it into the intended one. It's a bit annoying, but since you mentioned it would help in more cases, maybe we should do it anyway.


Thanks,

Jacek



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to