summaryrefslogtreecommitdiffstats
path: root/meta-linaro/recipes-extra/dwarfutils/dwarfdump/fix-dump.patch
blob: 45ca7a8368111416e8ae6e3121dde4619c97091a (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
---
 Makefile.in |    4 ++++
 1 file changed, 4 insertions(+)

--- dwarfdump.orig/Makefile.in
+++ dwarfdump/Makefile.in
@@ -104,14 +104,18 @@ naming.o:  $(srcdir)/naming.c $(srcdir)/
 # in the tree builds.
 trivial_naming.o: $(srcdir)/naming.c
 	$(CC) $(CFLAGS) -DTRIVIAL_NAMING  -c $(srcdir)/naming.c -o trivial_naming.o 
 
 tag_tree_build:  $(srcdir)/tag_tree.c $(DIRINC)/dwarf.h $(HEADERS) tag_common.o makename.o common.o trivial_naming.o
+ifeq ($(NATIVE),1)
 	$(CC) $(CFLAGS) $(srcdir)/tag_tree.c tag_common.o common.o makename.o trivial_naming.o $(LDFLAGS) -o tag_tree_build 
+endif
 
 tag_attr_build:  $(srcdir)/tag_attr.c $(DIRINC)/dwarf.h $(HEADERS) tag_common.o makename.o common.o trivial_naming.o
+ifeq ($(NATIVE),1)
 	$(CC) $(CFLAGS) $(srcdir)/tag_attr.c tag_common.o common.o makename.o trivial_naming.o $(LDFLAGS) -o tag_attr_build 
+endif
 
 tmp-tt-table.c tmp-tt-ext-table.c: $(srcdir)/tag_tree_ext.list $(srcdir)/tag_tree.list tag_tree_build
 	# gcc -E tag_tree.list does not work, so use a .c name
 	-rm -f  tmp-t1.c
 	cp $(srcdir)/tag_tree.list tmp-t1.c