mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Add -fno-builtin to ensure that the copy functions get called and so dhat can intercept and count them.
35 lines
769 B
Makefile
35 lines
769 B
Makefile
|
|
include $(top_srcdir)/Makefile.tool-tests.am
|
|
|
|
dist_noinst_SCRIPTS = filter_stderr filter_copy
|
|
|
|
EXTRA_DIST = \
|
|
acc.stderr.exp acc.vgtest \
|
|
ad-hoc.stderr.exp ad-hoc.vgtest \
|
|
basic.stderr.exp basic.vgtest \
|
|
big.stderr.exp big.vgtest \
|
|
copy.stderr.exp copy.vgtest \
|
|
empty.stderr.exp empty.vgtest \
|
|
sig.stderr.exp sig.vgtest \
|
|
single.stderr.exp single.vgtest
|
|
|
|
check_PROGRAMS = \
|
|
acc \
|
|
ad-hoc \
|
|
basic \
|
|
big \
|
|
copy \
|
|
empty \
|
|
sig \
|
|
single
|
|
|
|
AM_CFLAGS += $(AM_FLAG_M3264_PRI)
|
|
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
|