]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 444495 - dhat/tests/copy fails on s390x
authorPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 27 Oct 2021 19:37:00 +0000 (21:37 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 27 Oct 2021 19:37:00 +0000 (21:37 +0200)
Add -fno-builtin to ensure that the copy functions get called and so dhat
can intercept and count them.

dhat/tests/Makefile.am

index 86a9b6d647cb4c5f9882274dbdb9ec3e28b17a4c..b86fc416d4c0b23b20a1d8d1ca2c75a0f3bc8db9 100644 (file)
@@ -29,3 +29,6 @@ AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
 # We don't care about uninitialized or unused malloc results
 basic_CFLAGS  = $(AM_CFLAGS) -Wno-uninitialized
 big_CFLAGS  = $(AM_CFLAGS) -Wno-unused-result
+
+# Prevent the copying functions from being inlined
+copy_CFLAGS = $(AM_CFLAGS) -fno-builtin