]> git.ipfire.org Git - thirdparty/valgrind.git/commit
configure.ac: fix build lzcnt test to work on both i386 and amd64
authorMark Wielaard <mark@klomp.org>
Sun, 26 Oct 2025 14:23:23 +0000 (15:23 +0100)
committerMark Wielaard <mark@klomp.org>
Sun, 26 Oct 2025 14:23:31 +0000 (15:23 +0100)
commit30a1e2e9b59223b32dc9755bf92a8a2e54348632
tree8c174dbdc8c2840a6ada5f4e8126ebeaec62ac4f
parent7a64c4c8693500ce07af6f98c0e9416de41e7c8b
configure.ac: fix build lzcnt test to work on both i386 and amd64

The BUILD_LZCNT_TESTS conditional is used in both
none/tests/x86/Makefile.am and none/tests/amd64/Makefile.am to check
whether to build the lzcnt32 and lzcnt64 test program. However the
configure test uses %rax which is only available on amd64. Use %eax
instead to make sure the configure test succeeds on both i386 and
amd64.
configure.ac