We currently spend a bunch of time setting CRYPTO_FLAGS and then just
completely wipe it out if NATIVE_BUILD is specified.
The AMD_RYZEN_HACK is really not needed; it was only some early CPU
microcode and compiler combinations that had trouble detecting Ryzen's
FMA3 support (and Ryzen *doesn't* properly support FMA4--it can be
forced on and runs, but apparently it can give wrong results).
message(WARNING"This option may be removed in a future release. Contact your computer manufacturer for updated ROMs or microcode patches.")
endif(AMD_RYZEN_HACKANDUSE_AVX2)
if(NATIVE_BUILDANDNOTDEBIAN)
set(CRYPTO_FLAGS-march=native-mtune=native)
endif()
if(EMBEDDED_CFG)
message(WARNING"This configuration is optimised for older hardware and/or constrained node operation, may result in poor performance on desktop systems")
message(WARNING"For deployment on such systems, all external code (currently, libuv) must also be compiled for the target!")