regtest: some missing AM_CFLAGS and AM_CXXFLAGS
commit8e128c329ba7a72fca76384b04904b279273d65c
authorPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 1 Feb 2024 12:55:59 +0000 (1 13:55 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 1 Feb 2024 12:55:59 +0000 (1 13:55 +0100)
treee88eb83b6866d34ccaa67c95dd265a2381bb58aa
parentd2d28f714b7e25ccad6057fe4c63407b6fbf8a0c
regtest: some missing AM_CFLAGS and AM_CXXFLAGS

In all cases, these caused problems for 32on64 builds.

In a few cases extra CFLAGS were needed but AM_CFLAGS not used.

And it seems as though autoconf needs explicit else branches. So

if FOO
test_CFLAGS = ${AM_CFLAGS} -hide-some-warnings
endif

doesn't set test_CFLAGS to the default when FOO is false.
(I'm sure I've seen that before, and forgotten).
memcheck/tests/Makefile.am
none/tests/Makefile.am