2
Patch from: NIIBE Yutaka <gniibe@fsij.org>
4
Cross-building logrotate with dpkg-cross, I encountered a problem.
5
dpkg-cross sets CPP variable, and compilation failures, because
6
the executable 'cpp' does not accept multiple input files.
9
Index: logrotate-3.7.1/Makefile
10
===================================================================
11
--- logrotate-3.7.1.orig/Makefile 2003-10-09 21:05:07.000000000 +0100
12
+++ logrotate-3.7.1/Makefile 2006-04-08 21:21:31.333853922 +0100
14
rm -f $(OBJS) $(PROG) core* .depend
17
- $(CPP) $(CFLAGS) -M $(SOURCES) > .depend
18
+ $(CC) -E $(CFLAGS) -M $(SOURCES) > .depend