Fix the build with Clang (inline assembly)
Brought to you by:
konst
Biew 6.1.0 (the latest release) currently does not build with Clang due to small bugs in inline assembly. Fix is attached. GCC produces identical code (verified with md5).
SVN seemingly diverged a bit (e.g., I do not see aclib_template.c file), but cpu_info.c is still broken (both ia32 and x64 versions). Patch is attached (against 6.1.0).
Patch itself (stupid sf.net does not allow to attach immediately?)
Configure script must be taught about Clang too. Attached patch does this. Works both with FreeBSD and GNU sed(1).
Last edit: Alexey Dokuchaev 2013-06-10