Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/gcov
diff options
context:
space:
mode:
authorMatthew Khouzam2014-04-11 17:45:49 +0000
committerRoland Grunberg2014-04-11 21:05:07 +0000
commitde640180a4ad080eafd42b1b032e4f222bea679c (patch)
tree27198c517182f3be3d43ac1d36af9dd8b7709d21 /gcov
parent9b57afda050b403d58b619b6b3d0b68abfc6cbd5 (diff)
downloadorg.eclipse.linuxtools-de640180a4ad080eafd42b1b032e4f222bea679c.tar.gz
org.eclipse.linuxtools-de640180a4ad080eafd42b1b032e4f222bea679c.tar.xz
org.eclipse.linuxtools-de640180a4ad080eafd42b1b032e4f222bea679c.zip
gcov: change makefile link order
Change from gcc -llib file.c to gcc file.c -llib Change-Id: If2d39b413891625d3270e57e2cbfb8a04259fd11 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/24870 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
Diffstat (limited to 'gcov')
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.test/resource/Gcov_C_library_test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcov/org.eclipse.linuxtools.gcov.test/resource/Gcov_C_library_test/Makefile b/gcov/org.eclipse.linuxtools.gcov.test/resource/Gcov_C_library_test/Makefile
index 9dccb539a6..b4ffd23809 100644
--- a/gcov/org.eclipse.linuxtools.gcov.test/resource/Gcov_C_library_test/Makefile
+++ b/gcov/org.eclipse.linuxtools.gcov.test/resource/Gcov_C_library_test/Makefile
@@ -2,7 +2,7 @@ libtestgcovlib.so:
gcc -shared -fPIC -fprofile-arcs -ftest-coverage fact.c mult.c -o libtestgcovlib.so
build a.out: libtestgcovlib.so
- gcc -L . -ltestgcovlib main.c
+ gcc -L . main.c -ltestgcovlib
all: a.out
LD_LIBRARY_PATH=. ./$< 1 2 3 4 5 6

Back to the top