OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c85935
)
perf build: Disable libdw DWARF unwind when built with NO_DWARF
author
Naveen N. Rao
<naveen.n.rao@linux.vnet.ibm.com>
Wed, 29 Apr 2015 11:15:31 +0000
(16:45 +0530)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Fri, 8 May 2015 19:43:14 +0000
(16:43 -0300)
We get a linker error if we try to build with NO_DWARF since we build
util/unwind-libdw.c, but do not include -ldw
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Link:
http://lkml.kernel.org/r/1430306131-6780-1-git-send-email-naveen.n.rao@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/config/Makefile
patch
|
blob
|
history
diff --git
a/tools/perf/config/Makefile
b/tools/perf/config/Makefile
index
435b6ca
..
1b957a1
100644
(file)
--- a/
tools/perf/config/Makefile
+++ b/
tools/perf/config/Makefile
@@
-268,6
+268,10
@@
else
endif # libelf support
endif # NO_LIBELF
+ifdef NO_DWARF
+ NO_LIBDW_DWARF_UNWIND := 1
+endif
+
ifndef NO_LIBELF
CFLAGS += -DHAVE_LIBELF_SUPPORT
EXTLIBS += -lelf