summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/systemtap/systemtap/docproc-build-fix.patch
blob: 33a89940ae541233b0a641f5f4d13d1beabea233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Upstream-Status: Inappropriate [configuration]

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>

Index: git/doc/SystemTap_Tapset_Reference/Makefile.am
===================================================================
--- git.orig/doc/SystemTap_Tapset_Reference/Makefile.am	2012-04-13 08:43:46.263339003 -0500
+++ git/doc/SystemTap_Tapset_Reference/Makefile.am	2012-04-13 09:31:22.470083915 -0500
@@ -27,6 +27,10 @@
 noinst_PROGRAMS = docproc
 SRCTREE=$(abs_top_srcdir)/
 DOCPROC=$(abs_builddir)/docproc
+docproc_LINK = $(CC_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@
+
+docproc.o: $(srcdir)/docproc.c
+	$(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) -o $@ $(srcdir)/docproc.c
 
 all: $(PDFDOCS) stamp-htmldocs stamp-mandocs
 tapsets.xml: docproc $(shell find $(SRCTREE)/tapset -name '*.stp')