]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Regtest: clean up warning and compilation of bug290061.c
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 22 Apr 2025 05:22:42 +0000 (07:22 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 22 Apr 2025 05:22:42 +0000 (07:22 +0200)
commit866f58b3b5edd4731f210b4f5f48f459f2c600a5
treec35fc888f253c8ddc03125c4c3e819404ed46189
parent078ba93d0d00c2a3cb62b99af2ba77a34c5212ac
Regtest: clean up warning and compilation of bug290061.c

On some platforms there was a 'defined but not used' warning.
When I fixed that I got a link error from clang. Using a
_LDFLAGS option causes automake to split building the test into
separate compile and link commands and clang was optimizing away
the unused static 'meh' symbol.
none/tests/Makefile.am
none/tests/bug290061.c