13
0

allow to override FPU detection

This commit is contained in:
Robin Gareus 2016-03-04 18:05:47 +01:00
parent c26a53d401
commit 3dc09d42ab

View File

@ -143,6 +143,11 @@ FPU::FPU ()
error << _("FPU object instantiated more than once") << endmsg;
}
if (getenv("ARDOUR_FPU_FLAGS")) {
_flags = Flags (atoi (getenv("ARDOUR_FPU_FLAGS")));
return;
}
#if !( (defined __x86_64__) || (defined __i386__) || (defined _M_X64) || (defined _M_IX86) ) // !ARCH_X86
/* Non-Intel architecture, nothing to do here */
return;