1778d6
commit 33aba8eef68b1745d3de96b609ff8296b70d9a1c
1778d6
Author: Paul Floyd <pjfloyd@wanadoo.fr>
1778d6
Date:   Wed Oct 27 21:37:00 2021 +0200
1778d6
1778d6
    Bug 444495 - dhat/tests/copy fails on s390x
1778d6
    
1778d6
    Add -fno-builtin to ensure that the copy functions get called and so dhat
1778d6
    can intercept and count them.
1778d6
1778d6
diff --git a/dhat/tests/Makefile.am b/dhat/tests/Makefile.am
1778d6
index 86a9b6d64..b86fc416d 100644
1778d6
--- a/dhat/tests/Makefile.am
1778d6
+++ b/dhat/tests/Makefile.am
1778d6
@@ -29,3 +29,6 @@ AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
1778d6
 # We don't care about uninitialized or unused malloc results
1778d6
 basic_CFLAGS  = $(AM_CFLAGS) -Wno-uninitialized
1778d6
 big_CFLAGS  = $(AM_CFLAGS) -Wno-unused-result
1778d6
+
1778d6
+# Prevent the copying functions from being inlined
1778d6
+copy_CFLAGS = $(AM_CFLAGS) -fno-builtin