Mark Wielaard b3213195d1 Use AM_LDFLAGS instead of LDFLAGS in exp-bbv/tests Makefiles.
That makes it possible to add to LDFLAGS instead of overriding
when doing make. Useful if you want to have different LD_FLAGS
added for the main and check makes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15988
2016-10-01 10:12:31 +00:00

25 lines
500 B
Makefile

include $(top_srcdir)/Makefile.tool-tests.am
dist_noinst_SCRIPTS = filter_stderr
check_PROGRAMS = \
ll clone_test
EXTRA_DIST = \
clone_test.stderr.exp \
clone_test.post.exp \
clone_test.vgtest \
ll.stderr.exp \
ll.stdout.exp \
ll.post.exp \
ll.vgtest
AM_CCASFLAGS += -ffreestanding -Xassembler -I$(top_srcdir)/exp-bbv/tests
AM_LDFLAGS = @FLAG_M32@ -static -nostartfiles -nodefaultlibs
clone_test_SOURCES = clone_test.S
ll_SOURCES = ll.S
AM_CCASFLAGS += @FLAG_M32@