Jeffrey Walton noloader@gmail.com writes:
https://lists.lysator.liu.se/pipermail/nettle-bugs/2020/008762.html
If you don't use --enable-fat, there will be no runtime detection. That's exactly as intended. Maybe your real problem is
"On other platforms, --enable-fat causes SHA to be built even when the compiler does not support SHA. To avoid the compile error I dropped --enable-fat."
Can you give some more details of that error? The C compiler shouldn't need to know anything about the sha or aes instructions, so your checks of compiler support doesn't seem that relevant. The *assembler* needs to recognize the instructions, and that could potentially be worked around by coding instructions as equivalent byte sequences instead.
Regards, /Niels