]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Use AM_LDFLAGS instead of LDFLAGS in exp-bbv/tests Makefiles.
authorMark Wielaard <mark@klomp.org>
Sat, 1 Oct 2016 10:12:31 +0000 (10:12 +0000)
committerMark Wielaard <mark@klomp.org>
Sat, 1 Oct 2016 10:12:31 +0000 (10:12 +0000)
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

exp-bbv/tests/amd64-linux/Makefile.am
exp-bbv/tests/arm-linux/Makefile.am
exp-bbv/tests/ppc32-linux/Makefile.am
exp-bbv/tests/x86-linux/Makefile.am
exp-bbv/tests/x86/Makefile.am

index d3eddb3e2385db01bc7bd05a2570bd1de9bdd2b9..7ff89669043f1b2a700ea31304538973c527651d 100644 (file)
@@ -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
index 9b91b287506be44fb178b2e725a80cd225f929bf..d06b2d2192f2c816561fe2dc64c11458b380134a 100644 (file)
@@ -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
index 56646f4a1a6fe8b528a4ca57425cd23f37c3396c..691d803e41ee9042efc932c41f11cd966178992b 100644 (file)
@@ -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
index a16061f7aa68ffcef5cafade086b53e5d492a537..96bb562542694f9dacca9ba61133be3809bc580a 100644 (file)
@@ -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
index 3857aaef2e45ffe3903756de60b2a124b4a291a4..d8be8803523a15792c1ea57559507c4c7a7ea1a9 100644 (file)
@@ -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