Closed rogerbinns closed 4 months ago
Using AES hardware requires extra flags to be given to the compiler.
We need to figure out which compiler is in use, and add the appropriate compiler and linker flags.
Windows / msvc needs nothing
Linux clang and gcc need -maes. Probably the same story on other platforms like the BSDs. -msse4.2 is nice to have on x86/x64.
-maes
-msse4.2
MacOS xcode needs same as Linux.
Termux also provides apsw for Android, and may want to make this work.
I've checked Linux, MacOS, and Windows and all works well now. It should work correctly when compilers are overridden via the various mechanisms available.
Using AES hardware requires extra flags to be given to the compiler.
We need to figure out which compiler is in use, and add the appropriate compiler and linker flags.
Windows / msvc needs nothing
Linux clang and gcc need
-maes
. Probably the same story on other platforms like the BSDs.-msse4.2
is nice to have on x86/x64.MacOS xcode needs same as Linux.
Termux also provides apsw for Android, and may want to make this work.