summaryrefslogtreecommitdiff
path: root/recipes/monotone/files/txt2c-cross.patch
blob: a50b8135fc4cf5de0539535c3cb381ebf191fc28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# txt2c runs (only) on the build system.  This is a fairly horrible
# hack to make it compile with the build system compiler, not the
# target compiler.

--- monotone-0.19/Makefile.am.orig	2005-07-04 23:39:44.420722558 -0700
+++ monotone-0.19/Makefile.am	2005-07-04 23:36:50.267121331 -0700
@@ -356,7 +356,7 @@
 CLEANFILES = $(BUILT_SOURCES_CLEAN) $(EPS_FIGURES)
 
 txt2c: txt2c.cc Makefile
-	$(CXX) -Wall -o $@ $<
+	$(BUILD_CXX) -Wall -o $@ $<
 	chmod 0755 $@$(EXEEXT)
 
 apidocs: