blob: f72e9ca03a3b24c4e8396ae6ef4c77b9b99490b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Upstream-Status: Inappropriate [embedded config]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Index: valgrind-3.10.0/none/tests/Makefile.am
===================================================================
--- valgrind-3.10.0.orig/none/tests/Makefile.am
+++ valgrind-3.10.0/none/tests/Makefile.am
@@ -280,7 +280,6 @@ threaded_fork_LDADD = -lpthread
threadederrno_LDADD = -lpthread
tls_SOURCES = tls.c tls2.c
tls_DEPENDENCIES = tls.so tls2.so
-tls_LDFLAGS = -Wl,-rpath,$(abs_top_builddir)/none/tests
tls_LDADD = tls.so tls2.so -lpthread
tls_so_SOURCES = tls_so.c
tls_so_DEPENDENCIES = tls2.so
@@ -288,7 +287,7 @@ if VGCONF_OS_IS_DARWIN
tls_so_LDFLAGS = -dynamic -dynamiclib -all_load -fpic
tls_so_LDADD = `pwd`/tls2.so
else
- tls_so_LDFLAGS = -Wl,-rpath,$(abs_top_builddir)/none/tests -shared -fPIC
+ tls_so_LDFLAGS = -shared -fPIC
tls_so_LDADD = tls2.so
endif
tls_so_CFLAGS = $(AM_CFLAGS) -fPIC
|