From: Mark Wielaard Date: Sat, 1 Oct 2016 10:12:31 +0000 (+0000) Subject: Use AM_LDFLAGS instead of LDFLAGS in exp-bbv/tests Makefiles. X-Git-Tag: svn/VALGRIND_3_13_0~378 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3213195d109fcbc702596e15403cdec9a9f1527;p=thirdparty%2Fvalgrind.git 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 --- diff --git a/exp-bbv/tests/amd64-linux/Makefile.am b/exp-bbv/tests/amd64-linux/Makefile.am index d3eddb3e23..7ff8966904 100644 --- a/exp-bbv/tests/amd64-linux/Makefile.am +++ b/exp-bbv/tests/amd64-linux/Makefile.am @@ -25,7 +25,7 @@ EXTRA_DIST = \ AM_CCASFLAGS += -ffreestanding -LDFLAGS += -nostartfiles -nodefaultlibs +AM_LDFLAGS = -nostartfiles -nodefaultlibs clone_test_SOURCES = clone_test.S complex_rep_SOURCES = complex_rep.S diff --git a/exp-bbv/tests/arm-linux/Makefile.am b/exp-bbv/tests/arm-linux/Makefile.am index 9b91b28750..d06b2d2192 100644 --- a/exp-bbv/tests/arm-linux/Makefile.am +++ b/exp-bbv/tests/arm-linux/Makefile.am @@ -16,7 +16,7 @@ EXTRA_DIST = \ AM_CCASFLAGS += -ffreestanding -Xassembler -I$(top_srcdir)/exp-bbv/tests -LDFLAGS += -nostartfiles -nodefaultlibs +AM_LDFLAGS = -nostartfiles -nodefaultlibs ll_SOURCES = ll.S million_SOURCES = million.S diff --git a/exp-bbv/tests/ppc32-linux/Makefile.am b/exp-bbv/tests/ppc32-linux/Makefile.am index 56646f4a1a..691d803e41 100644 --- a/exp-bbv/tests/ppc32-linux/Makefile.am +++ b/exp-bbv/tests/ppc32-linux/Makefile.am @@ -16,7 +16,7 @@ EXTRA_DIST = \ AM_CCASFLAGS += -ffreestanding -m32 -Xassembler -I$(top_srcdir)/exp-bbv/tests -LDFLAGS += -nostartfiles -nodefaultlibs -m32 +AM_LDFLAGS = -nostartfiles -nodefaultlibs -m32 ll_SOURCES = ll.S million_SOURCES = million.S diff --git a/exp-bbv/tests/x86-linux/Makefile.am b/exp-bbv/tests/x86-linux/Makefile.am index a16061f7aa..96bb562542 100644 --- a/exp-bbv/tests/x86-linux/Makefile.am +++ b/exp-bbv/tests/x86-linux/Makefile.am @@ -16,7 +16,7 @@ EXTRA_DIST = \ AM_CCASFLAGS += -ffreestanding -Xassembler -I$(top_srcdir)/exp-bbv/tests -LDFLAGS += @FLAG_M32@ -static -nostartfiles -nodefaultlibs +AM_LDFLAGS = @FLAG_M32@ -static -nostartfiles -nodefaultlibs clone_test_SOURCES = clone_test.S ll_SOURCES = ll.S diff --git a/exp-bbv/tests/x86/Makefile.am b/exp-bbv/tests/x86/Makefile.am index 3857aaef2e..d8be880352 100644 --- a/exp-bbv/tests/x86/Makefile.am +++ b/exp-bbv/tests/x86/Makefile.am @@ -18,7 +18,7 @@ EXTRA_DIST = \ AM_CCASFLAGS += -ffreestanding -LDFLAGS += @FLAG_M32@ -static -nostartfiles -nodefaultlibs +AM_LDFLAGS = @FLAG_M32@ -static -nostartfiles -nodefaultlibs complex_rep_SOURCES = complex_rep.S fldcw_check_SOURCES = fldcw_check.S