Source: wmcore
Version: 0.0.2+ds-2
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

wmcore fails to cross build from source, because the upstream Makefile
hard codes the build architecture compilier. Please consider applying
the attached patch to make it substitutable.

Helmut
--- wmcore-0.0.2+ds.orig/Makefile
+++ wmcore-0.0.2+ds/Makefile
@@ -7,10 +7,10 @@
 
 
 .c.o:
-	cc $(CPPFLAGS) $(CFLAGS) -Wall -c -O3 $< -o $*.o
+	$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -c -O3 $< -o $*.o
 
 wmlmon: $(OBJS)
-	cc $(LDFLAGS) -Wall -o wmcore $^ $(LIBDIR) $(LIBS)
+	$(CC) $(LDFLAGS) -Wall -o wmcore $^ $(LIBDIR) $(LIBS)
 
 clean::
 	for i in $(OBJS) ; do \

Reply via email to