⛏️ index : buildtools.git

author Oliver Tappe <zooey@hirschkaefer.de> 2011-02-23 22:31:44.0 +00:00:00
committer Oliver Tappe <zooey@hirschkaefer.de> 2011-02-23 22:31:44.0 +00:00:00
commit
e62f027fec74604836d7a008255a57861044a77f [patch]
tree
6dbf09ca64fc22dfaecd8b8859c5b03cf30091ce
parent
a348441958fda8114ab3bfaa8e500ed2fd3508b1
download
e62f027fec74604836d7a008255a57861044a77f.tar.gz

circumvent strange problems during build of gprof ('no objective-c compiler found') caused by our current make version (3.82)

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@40648 a95241bf-73f2-0310-859d-f6bbb57e9c96

Diff

 legacy/binutils/gprof/Makefile.am | 3 +++
 legacy/binutils/gprof/Makefile.in | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/legacy/binutils/gprof/Makefile.am b/legacy/binutils/gprof/Makefile.am
index 1b86267..ebaa338 100644
--- a/legacy/binutils/gprof/Makefile.am
+++ b/legacy/binutils/gprof/Makefile.am
@@ -39,6 +39,9 @@

diststuff: $(BUILT_SOURCES) info $(man_MANS)

# hack against problems with newer make (at least with 3.82):
%.o:%.m

.m.c:
	awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
	    FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
diff --git a/legacy/binutils/gprof/Makefile.in b/legacy/binutils/gprof/Makefile.in
index 328a3da..6a33416 100644
--- a/legacy/binutils/gprof/Makefile.in
+++ b/legacy/binutils/gprof/Makefile.in
@@ -799,6 +799,9 @@

diststuff: $(BUILT_SOURCES) info $(man_MANS)

# hack against problems with newer make (at least with 3.82):
%.o:%.m

.m.c:
	awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
	    FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \